Rails: Serializing objects in a database?

Posted by keruilin on Stack Overflow See other posts from Stack Overflow or by keruilin
Published on 2010-06-02T16:34:36Z Indexed on 2010/06/02 18:04 UTC
Read the original article Hit count: 163

I'm looking for some general guidance on serializing objects in a database.

  1. What are serialized objects?
  2. What are some best-practice scenarios for serializing objects in a DB?
  3. What attributes do you use when creating the column in the DB so you can use a serialized object?
  4. How to save a serialized object?
  5. And how to access the serialized object and its attributes? (Using hashes?)

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about ruby