method

_field_changed?

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

Method deprecated or moved

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

_field_changed?(attr, old, value)
public

No documentation available.

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