Skip to content

Instantly share code, notes, and snippets.

@harukizaemon
Created December 1, 2010 10:04
Show Gist options
  • Select an option

  • Save harukizaemon/723277 to your computer and use it in GitHub Desktop.

Select an option

Save harukizaemon/723277 to your computer and use it in GitHub Desktop.
ActionDispatch::ShowExceptions.rescue_responses.update(
"Query::RecordNotFound" => :not_found,
"Command::AggregateNotFound" => :not_found,
"Command::EntityNotFound" => :not_found,
"Authorisation::Error" => :not_found
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment