Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?

From Rails Guides:

You shouldn't do rescue_from Exception or rescue_from StandardError unless you have a particular reason as it will cause serious side-effects (e.g. you won't be able to see exception details and tracebacks during development).

Certain exceptions are only rescuable from the ApplicationController class, as they are raised before the controller gets initialized and the action gets executed. See Pratik Naik's article on the subject for more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.