i want to make render xml for an complex object
ex
make render :xml => posters
poster = [name, post_id,created_at, ....]
post = [title, body,created_at, ....]
and i want the render *output* to be
<posters>
<poster>
<name>
name
</name>
<post>
<title>
title
</title>
<body>
body
</body>
</post>
...
...
</poster>
...
...
</posters>
thanks in advance
M.SH
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/rubyonrails-talk/-/HjSKQMCHphcJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.