deepak
2010-Mar-09 07:41 UTC
what is the use of the type information in the serialized xml
hi, i had a general question, what is the use of the type information in the serialized xml? <?xml version="1.0" encoding="UTF-8"?> <posts type="array"> <post></post> <post></post> </posts what is the use of saying that posts is of type ''array'', any use to ActiveRecord or ActiveResource? would it be useful in deserialization? PS: ActiveRecord::Base::to_xml has a :skip_types option. Thanks, Deepak -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.