method

changed_attributes

Importance_0
v4.2.7 - Show latest stable - 0 notes - Class: ActiveRecord::AttributeMethods::Dirty
changed_attributes() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/attribute_methods/dirty.rb, line 57
      def changed_attributes
        # This should only be set by methods which will call changed_attributes
        # multiple times when it is known that the computed value cannot change.
        if defined?(@cached_changed_attributes)
          @cached_changed_attributes
        else
          super.reverse_merge(attributes_changed_in_place).freeze
        end
      end
Register or log in to add new notes.