Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Delayed::DeserializationError if a method parameter is an unsaved ActiveRecord object #619
why not just unserialize the object instead of trying to fetch the current version ?
"it's not a bug, it's a feature"
but why not simply fallback to 'visit_Psych_Nodes_Mapping_without_class' if id is nil ?
Yes this is intended. It will NOT change.
For one of many examples, say you have a new record, you delay something on that record. After the job is sent off you save that record. Then in the job you do stuff and save the record. Now you have 2 records based on the same root record that you probably didn't intend.