module ActiveSupport::Callbacks
def run_callbacks(kind, &block)
save
run_callbacks :save do
if callbacks have been set but no block is given.
result of the block, +nil+ if no callbacks have been set, or +true+
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) send "_run_#{kind}_callbacks", &block end