You can also override the to_xml method in the model.
http://api.rubyonrails.org/classes/ActiveRecord/XmlSerialization.html
On Fri, Nov 13, 2009 at 4:59 AM, bingo bob
<rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:
>
>
> Hi Sijo, thanks for the post...
>
> Just for the record this great blog post answered it for me...
>
> Needed to use a "builder" file, in there I can specify just how
I''d like
> the XML. Genius!
>
> http://danengle.us/2009/05/generating-custom-xml-for-your-rails-app/
>
> BB
> --
> Posted via http://www.ruby-forum.com/.
>
> >
>
--
Darian Shimy
--~--~---------~--~----~------------~-------~--~----~
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-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---