method

_field_changed?

rails latest stable - Class: ActiveRecord::AttributeMethods::Serialization::Behavior

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.1.8) is shown here.

_field_changed?(attr, old, value)
public

No documentation available.

# File activerecord/lib/active_record/attribute_methods/serialization.rb, line 158
        def _field_changed?(attr, old, value)
          if self.class.serialized_attributes.include?(attr)
            old != value
          else
            super
          end
        end