Oh BTW just added recursive to_xml too, which supports
ActiveRecord::Base objects

http://web.me.com/adamfowleruk/adamsapple/Blog/Entries/2009/2/6_Ruby_to_xml_implementation.html

Adam.

On Feb 6, 5:29 pm, adamfowleruk <adamfowle...@gmail.com> wrote:
> Hi all,
>
> I've been looking at some options for getting a from_xml
> implementation working with ActiveRecord based classes. I had a few
> issues and couldn't resolve them, so I rolled my own. Seems to work
> well for simple parent > child relationships, including collections.
>
> I thought I'd post in case anyone else was similarly afflicted. Here's
> the blog post to get the code. Please add comments to let me know what
> you think. (Or to tell me I'm an idiot and missed something!)
>
> http://web.me.com/adamfowleruk/adamsapple/Blog/Entries/2009/2/6_Ruby_...
>
> Regards,
>
> Adam.
--~--~---------~--~----~------------~-------~--~----~
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@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to