Flowdock
method

rescue_action_in_public

Importance_1
Ruby on Rails latest stable (v4.0.2) - 0 notes - Class: ActionDispatch::ShowExceptions

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.1.0) is shown here.

rescue_action_in_public(exception) private

Attempts to render a static error page based on the status_code thrown, or just return headers if no such file exists. At first, it will try to render a localized static page. For example, if a 500 error is being handled Rails and locale is :da, it will first attempt to render the file at public/500.da.html then attempt to render public/500.html. If none of them exist, the body of the response will be left empty.

Show source
Register or log in to add new notes.