Module: Sequel::Plugins::SerializationModificationDetection::InstanceMethods
- Defined in:
- lib/sequel/plugins/serialization_modification_detection.rb
Instance Method Summary collapse
-
#changed_columns ⇒ Object
Detect which serialized columns have changed.
Instance Method Details
#changed_columns ⇒ Object
Detect which serialized columns have changed.
29 30 31 32 33 |
# File 'lib/sequel/plugins/serialization_modification_detection.rb', line 29 def changed_columns cc = super deserialized_values.each{|c, v| cc << c if !cc.include?(c) && original_deserialized_value(c) != v} cc end |