Hi ! Is this expected to work: xml.instruct!(:xml, :encoding => 'ISO-8859-1') xml.contacts do render :partial => 'contact_xml', :collection => @contacts end Considering that contact_xml is a partial named '_contact_xml.rxml' ? I get an empty contacts element in the resulting document, and the @contacts array sure does contain two elements. Thanks !
on 2005-11-30 03:44
on 2005-11-30 04:37
Hi Francois, On 11/29/05, Francois Beausoleil <firstname.lastname@example.org> wrote: > @contacts array sure does contain two elements. Try: xml.contacts do xml << render :partial => ... end -- sam
on 2005-12-02 08:52
Hello Sam ! 2005/11/29, Sam Stephenson <email@example.com>: > Try: > xml.contacts do > xml << render :partial => ... > end Sorry for the late reply. Works like a charm ! Thanks !