Does render_partial work within a RXML file? I am attempting the following:
xml.users do
for user in @users
render_partial ''user'', user
end
end
All that is output is:
<user>
</user>
Without any exception or anything to indicate that I''m doing something
wrong. Does anyone have any experiece with this?
Josh
Are you asking it to render _user.rxml or .rhtml? Josh Knowles wrote:> Does render_partial work within a RXML file? I am attempting the following: > > xml.users do > for user in @users > render_partial ''user'', user > end > end > > All that is output is: > <user> > </user> > > Without any exception or anything to indicate that I''m doing something > wrong. Does anyone have any experiece with this? > > Josh > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails > >