April
Saving Hashes and Arrays to the Database With Rails
When objects (hashes, arrays, etc) are saved to the database through ActiveRecord in Rails, they are transformed to YAML before saving. Therefore, when you go back to access this data, the following will have to be performed to get the object back to its original state:
<code class='ruby'>YAML::load(object_name)
where _*object_name*_ is the name the model_name.attribute field you are accessing.



