On Nov 27, 9:38 pm, "Tim Uckun" <[EMAIL PROTECTED]> wrote:
> If you have the need to do a lot of XML processing you are better off
> staying away from rails completely.  The State of SOAP on rails is a
> mess to the point of being practically unusable.  The XML and json
> deserialization is like playing russian roulette with five bullets in
> the chamber.
>
> Try it yourself.
>
> u = User.find(1).
> xml = u.to_xml
>
> ... Change the xml.
>
> u.from_xml(xml)
>
> Doesn't work.
>
> Same with json. Doesn't work.
>

Minus your mysterious 'change the xml' that worked for me.If you could
produce a more precise example (or at least elaborate on "Doesn't
work" (raises an exception, does nothing, has the wrong attributes,
something else...)
 you might get a more helpful response.

Fred
> Half the time from_xml can't parse the xml to_xml put out.
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to