module ActionController::Rescue
def rescue_action_with_fast_errors(exception)
def rescue_action_with_fast_errors(exception) if use_rails_error_handling? rescue_action_without_fast_errors exception else raise exception end end
def use_rails_error_handling!
def use_rails_error_handling! @use_rails_error_handling = true end
def use_rails_error_handling?
def use_rails_error_handling? @use_rails_error_handling ||= false end