module ActiveSupport::Callbacks
def halted_callback_hook(filter)
This can be overridden in AS::Callback implementors in order
A hook invoked everytime a before callback is halted.
def halted_callback_hook(filter) end
def run_callbacks(kind, &block)
save
run_callbacks :save do
result of the block, or +true+ if no block is given.
If the callback chain was halted, returns +false+. Otherwise returns the
order.
the block (if given one), and then runs the after callbacks in reverse
Calls the before and around callbacks in the order they were set, yields
Runs the callbacks for the given event.
def run_callbacks(kind, &block) runner_name = self.class.__define_callbacks(kind, self) send(runner_name, &block) end