method

before_reset

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: CurrentAttributes
before_reset(*methods, &block) public

Calls this callback before #reset is called on the instance. Used for resetting external collaborators that depend on current values.

Show source
Register or log in to add new notes.