This project is archived and is in readonly mode.
serialize_fields not recording changes
-
Matt Jones
This has come up a couple times: see tickets #2764 Supporting partial updates for serialized columns and #360 Dirty tracking on serialized columns is broken.
-
Adam S
Matt,
Thanks for the links.I'm looking at the patch for #2764 Supporting partial updates for serialized columns... It actually seems like the way to go about it. The data is serialized, so the only thing you can depend on is that the data should be the same when converted to yaml... if the data is the same in yaml, then the object hasn't changed. Simple.
Really that is a great and obvious way to fix this issue.
There are problems with converting various Object types to yaml, but that isn't rails' problem.
Can we get that patch looked at again?
I'm happy to rework it so that it applies against edge and Rails 2.3
-
Rohit Arondekar
- State changed from new to stale
- Importance changed from to
Marking ticket as stale. If this is still an issue please leave a comment with suggested changes, creating a patch with tests, rebasing an existing patch or just confirming the issue on a latest release or master/branches.