[LRUG] Best way to serialise a Ruby object?
Andrew Stewart
boss at airbladesoftware.com
Thu Jul 14 02:11:41 PDT 2011
Hola El Rug,
What's the best way these days to serialise a Ruby object for storage in a SQL database field, and de-serialise it back again?
To date I've been using YAML but I've run across a situation where the YAML written by Ruby can't be de-serialised again (due, I think, to Sych versus Psych).
Should I be switching to something other than YAML?
Cheers,
Andy Stewart
-------
http://airbladesoftware.com
More information about the Chat
mailing list