Flowdock
method

changed_values

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: AttributeMutationTracker
changed_values() 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 18
    def changed_values
      attr_names.each_with_object({}.with_indifferent_access) do |attr_name, result|
        if changed?(attr_name)
          result[attr_name] = original_value(attr_name)
        end
      end
    end
Register or log in to add new notes.