1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/lib
Genadi Samokovarov f99c37583d Support plain loggers in DebugExceptions
I have been seeing people setting `Logger` instances for `config.logger`
and it blowing up on `rails/web-console` usage.

Now, I doubt many folks are manually setting `ActionView::Base.logger`,
but given that `DebugExceptions` is running in a pretty fragile
environment already, having it crash (and being silent) in those cases
can be pretty tricky to trace down.

I'm proposing we verify whether the `ActionView::Base.logger` supports
silencing before we try to do it, to save us the headache of tracing it
down.
2016-10-28 23:53:06 +03:00
..
abstract_controller removes requires already present in active_support/rails 2016-10-27 09:45:20 +02:00
action_controller remove unused RedirectBackError class 2016-10-27 08:28:14 +09:00
action_dispatch Support plain loggers in DebugExceptions 2016-10-28 23:53:06 +03:00
action_pack applies new string literal convention in actionpack/lib 2016-08-06 18:51:43 +02:00
abstract_controller.rb applies new string literal convention in actionpack/lib 2016-08-06 18:51:43 +02:00
action_controller.rb Include the content of the flash in the auto-generated etag (#26250) 2016-08-22 13:34:35 -07:00
action_dispatch.rb Deprecated ActionDispatch::ParamsParser::ParamsParser 2016-10-10 01:35:58 -03:00
action_pack.rb applies new string literal convention in actionpack/lib 2016-08-06 18:51:43 +02:00