Flowdock
method

change_to_attribute

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: AttributeMutationTracker
change_to_attribute(attr_name) 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 35
    def change_to_attribute(attr_name)
      attr_name = attr_name.to_s
      if changed?(attr_name)
        [attributes[attr_name].original_value, attributes.fetch_value(attr_name)]
      end
    end
Register or log in to add new notes.