method

changes

Importance_0
v6.0.0 - Show latest stable - 0 notes - Class: AttributeMutationTracker
changes() public

No documentation

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

Hide source
# File activemodel/lib/active_model/attribute_mutation_tracker.rb, line 27
    def changes
      attr_names.each_with_object({}.with_indifferent_access) do |attr_name, result|
        if change = change_to_attribute(attr_name)
          result.merge!(attr_name => change)
        end
      end
    end
Register or log in to add new notes.