define_callbacks(*names)
Instance Public methods
Define sets of events in the object life cycle that support callbacks.
define_callbacks :validate
define_callbacks :initialize, :save, :destroy
Options
:terminator - Determines when a before filter will halt the
callback chain, preventing following callbacks from being called and the
event from being triggered. This should be a lambda to be executed. The
current object and the return result of the callback will be called with
the l