In my Rails 3.1 application, I need to read the raw data of a field, without serialization, and then write it down without serialization. Is this possible? How?
By serialization I mean
class Tenant
serialize :profile_template
end
which I can access like this:
t.profile_template
=> [{:title=>“Page 1”, …}]
I tried several approaches, none of them worked. With read_attribute_before_type_cast:
In my Rails 3.1 application, I need to read the raw data of a field, without serialization, and then write it down without serialization. Is this possible? How?