Serialization
Deserializing an object failed in ActiveRecord
This can happen when the rails dependency system doesn’t load the serialize referenced objects before deserialize happens. We killed some time figuring this out – here is what you can do if you see any such issue:
For example:
The following code could create deserialization errors when Employee object is loaded.
class Employee < ActiveRecord::Base
serialize :job_roles
[...]


