before_reset(&block)
public
Calls this block 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 137
def before_reset(&block)
set_callback :reset, :before, &block
end