protected Method

Dispatcher.failsafe_rescue(exception)

There's no documentation for this item.

Source Code

# File action_controller/dispatcher.rb, line 167
def failsafe_rescue(exception)
  self.class.failsafe_response(@output, '500 Internal Server Error', exception) do
    if @controller ||= defined?(::ApplicationController) ? ::ApplicationController : Base
      @controller.process_with_exception(@request, @response, exception).out(@output)
    else
      raise exception
    end
  end
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.