module ActiveSupport::Callbacks

def halted_callback_hook(filter)

to provide better debugging/logging.
This can be overriden 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, *args, &block)


end
save
run_callbacks :save do

of the block, or +true+ if no block is given.
If the callback chain was halted, returns +false+. Otherwise returns the result

method for each key. See +ClassMethods.define_callbacks+ for more information.
Optionally accepts a key, which will be used to compile an optimized callback
the block (if given one), and then runs the after callbacks in reverse order.
Calls the before and around callbacks in the order they were set, yields

Runs the callbacks for the given event.
def run_callbacks(kind, *args, &block)
  send("_run_#{kind}_callbacks", *args, &block)
end