Skip to content

Instantly share code, notes, and snippets.

@zdennis
Created January 10, 2009 23:13
Show Gist options
  • Save zdennis/45583 to your computer and use it in GitHub Desktop.
Save zdennis/45583 to your computer and use it in GitHub Desktop.
def rescue_action_with_fast_errors(exception)
unless rescue_with_handler(exception)
if use_rails_error_handling?
rescue_action_without_handler(exception)
else
raise exception
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment