lib/request_exception_handler.rb
def check_request_exception
    if e = request_exception
      raise e if e.is_a?(Exception)
    end
  end
# Checks and raises a +request_exception+ (gets prepended as a before filter).
Checks and raises a +request_exception+ (gets prepended as a before filter).
Checks and raises a + request_exception + ( gets prepended as a before filter ) .
def check_request_exception
    if e = request_exception
      raise e if e.is_a?(Exception)
    end
  end
def check_request_exception if e = request_exception raise e if e . is_a? ( Exception ) end end
Checks and raises a +request_exception+ (gets prepended as a before filter).
Checks and raises a + request_exception + ( gets prepended as a before filter ) .