Hey guys, I have a quick question about xml.builder rendering in Rails. I'm pretty sure I am just getting the builder syntax wrong.
The problem is that I can't get it to display things that I want rendered out. By looking at the logs it seems like Rails has found everything, but my syntax for displaying is wrong, so it displays nothing. I would like to display for example, post.title post.author post.body That's all wrapped in a for loop, that should display all the posts. I did a respond to xml in the controller, and I defined all my variables correctly. However, I'm getting a blank screen. What's the equivalent of <%= %> in xml.builder syntax? Thank you -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.