Module: Mobility::Backend::Sequel::Serialized::SerializationModificationDetectionFix
- Defined in:
- lib/mobility/backend/sequel/serialized.rb
Overview
Note:
The original serialization_modification_detection plugin sets @original_deserialized_values to be @deserialized_values, which doesn’t work. Setting it to a new empty hash seems to work better.
Instance Method Summary collapse
Instance Method Details
#after_save ⇒ Object
116 117 118 119 |
# File 'lib/mobility/backend/sequel/serialized.rb', line 116 def after_save super() @original_deserialized_values = {} end |