This should be simple. What is the quickest way to add XML to a plain object so I can call object.to_xml()? I did some digging but did not find anything quick. I think that''s built into the ActiveRecord but what about a plain object? Thanks! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
you mean something like this? http://clabs.org/clxmlserial.htm On 3/20/07, thenakedsingularity <thenakedsingularity-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > This should be simple. What is the quickest way to add XML to a > plain object so I can call object.to_xml()? I did some digging but did > not find anything quick. I think that''s built into the ActiveRecord > but what about a plain object? > > Thanks! > > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Yup. Thanks! On Mar 20, 11:39 am, "Chris Hall" <christopher.k.h...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> you mean something like this? > > http://clabs.org/clxmlserial.htm > > On 3/20/07, thenakedsingularity <thenakedsingular...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > This should be simple. What is the quickest way to add XML to a > > plain object so I can call object.to_xml()? I did some digging but did > > not find anything quick. I think that''s built into the ActiveRecord > > but what about a plain object? > > > Thanks!- Hide quoted text - > > - Show quoted text ---~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---