instance method rescue_action_in_public

Ruby on Rails 2.2.3

Since v2.2.3 Last seen in v2.3.18

Available in: v2.2.3 v2.3.18

Signature

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.

Parameters

exception req
Source
# File actionpack/lib/action_controller/rescue.rb, line 81
      def rescue_action_in_public(exception) #:doc:
        render_optional_error_file response_code_for_rescue(exception)
      end

Defined in actionpack/lib/action_controller/rescue.rb line 81 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionController::Rescue

Type at least 2 characters to search.

↑↓ navigate · open · esc close