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.
# File activesupport/lib/active_support/current_attributes.rb, line 146
def before_reset(*methods, &block)
set_callback :reset, :before, *methods, &block
end