method

change_to_attribute

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: ForcedMutationTracker
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 101
    def change_to_attribute(attr_name)
      if finalized_changes&.include?(attr_name)
        finalized_changes[attr_name].dup
      else
        super
      end
    end
Register or log in to add new notes.