method

forget_change

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: AttributeMutationTracker
forget_change(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 54
    def forget_change(attr_name)
      attributes[attr_name] = attributes[attr_name].forgetting_assignment
      forced_changes.delete(attr_name)
    end
Register or log in to add new notes.