protected Method

Rescue.rescue_action_in_public(exception)

Overwrite to implement public exception handling (for requests answering false to local_request?). By default will call render_optional_error_file. Override this method to provide more user friendly error messages.s

Source Code

# File action_controller/rescue.rb, line 146
def rescue_action_in_public(exception) #:doc:
  render_optional_error_file response_code_for_rescue(exception)
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.