technoweenie/serialized_attributes — pull request #15 by rtomayko (2013-12-03 20:29:18+00:00)
Title: Don't write blob column if no attributes changed

This stops the `raw_data` attribute from being flagged as changed any time a model is saved. Instead, only write the attribute if one of the serialized attributes changed. This prevents an `UPDATE` statement entirely when `#save` is called and no actual changes were made. It prevents the blob column from being included in the `UPDATE` when only non-serialized attributes are changed.