class ActiveSupport::Callbacks::CallbackChain

def default_terminator

def default_terminator
  Proc.new do |target, result_lambda|
    terminate = true
    catch(:abort) do
      result_lambda.call
      terminate = false
    end
    terminate
  end
end