method

force_change

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ForcedMutationTracker
force_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 121
    def force_change(attr_name)
      forced_changes[attr_name] = clone_value(attr_name) unless attribute_changed?(attr_name)
    end
Register or log in to add new notes.