1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/lib
eileencodes 191facc857 Don't invoke sql_runtime if logger is not set to info
`sql_runtime` was getting invoked even when the logger was set to fatal.
This ensures that does not happen by checking that the logger is set to
info level before logging the view runtime.

This reduces the number of times `sql_runtime` is called for integration
tests with a fatal logger from 6 to 2.
2015-04-04 09:21:18 -04:00
..
active_record Don't invoke sql_runtime if logger is not set to info 2015-04-04 09:21:18 -04:00
rails/generators Add Secure Token Generator 2015-01-11 14:42:54 -05:00
active_record.rb Attempt to provide backwards compatible YAML deserialization 2015-03-10 11:56:45 -06:00