1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/test
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 Remove deprecated methods related to controller filters 2016-10-09 23:56:14 -03:00
assertions Improve assert_response helper 2016-09-14 11:30:09 -04:00
controller Remove mona lisa image from the tests 2016-10-25 12:31:35 -02:00
dispatch Support plain loggers in DebugExceptions 2016-10-28 23:53:06 +03:00
fixtures Remove mona lisa image from the tests 2016-10-25 12:31:35 -02:00
journey Show an "unmatched constraints" error for mismatching and present params 2016-10-03 09:52:14 +01:00
lib/controller Removing unused fake models 2014-09-07 22:51:14 -03:00
routing applies new string literal convention in actionpack/test 2016-08-06 18:54:50 +02:00
tmp
abstract_unit.rb Fix broken comments indentation caused by rubocop auto-correct [ci skip] 2016-09-14 18:26:32 +09:00