Hi sequel-experts, I've been using xml serialization out (to_xml) recently following documentation found at http://sequel.rubyforge.org/rdoc-plugins/classes/Sequel/Plugins/XmlSerializer.html.
1 small issue found is that top markers are changed to lower-case, ie Album will become <album>. I can take care of post-processing this using nokogiri and renaming the markers on the fly. What I've difficulty with is serializing back inside the db model/table (array_from_xml). Indeed, the following line seems to be like Album.all: Album.array_from_xml(Album.to_xml) But data does not get saved in this way. I'm actually looking at this to be able to seed my db using xml files. Is there a way to save in the db using array_from_xml ? I'm looking for a 1-liner solution if possible. Thanks! -- Christian -- You received this message because you are subscribed to the Google Groups "sequel-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/sequel-talk?hl=en.
