[Ironruby-core] IronRuby + Rails + format.xml
jdeville at microsoft.com
Thu Mar 18 20:26:25 EDT 2010
Have you defined a to_xml builder method on the object? Also, you may need to call to_xml in the format.xml block. I can't remember if the rails processes for format.xml call to_xml in the render, or just pass it to the view.
From: Ben Hall <ben2004uk at googlemail.com>
Sent: Thursday, March 18, 2010 4:54 PM
To: ironruby-core at rubyforge.org <ironruby-core at rubyforge.org>
Subject: [Ironruby-core] IronRuby + Rails + format.xml
I'm hoping that someone will have more of a deeper understanding of
rails than myself.
Basically, I want to use the format.xml from an action in rails with a
C# object - but all I get is the to_s (MyNamespace.MyObject) - any
Ironruby-core mailing list
Ironruby-core at rubyforge.org
More information about the Ironruby-core