Ok, I found out that that rxml is deprecated and I should use builder 
extension instead so that solved part of the equation.

Now I'm having another problem with collection. The following does not 
work and in the partial I get @articles instead of a local var article.

xml << render(:partial => "post", :type => :builder, :collection => 
@articles)
-- 
Posted via http://www.ruby-forum.com/.

-- 
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 [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.

Reply via email to