rails/rails — pull request #3717 by lest (2011-11-22 08:45:24+00:00)
Title: Show exceptions refactor: controller should be responsible for choice to show exceptions

Original issue #3323

I've introduced `ActionController::Metal#show_detailed_exceptions?`. Middleware only checks `env['action_dispatch.show_detailed_exceptions']`. Logic was moved to controller layer and it can be overriden.

/cc @jeremy