diff options
author | eileencodes <eileencodes@gmail.com> | 2015-04-04 09:17:06 -0400 |
---|---|---|
committer | eileencodes <eileencodes@gmail.com> | 2015-04-04 09:21:18 -0400 |
commit | 191facc857bb4fb52078fb544c6bc1613a81cc80 (patch) | |
tree | 0d5c7606114de1766a754e71d630becefc09552b /actionview | |
parent | 5abadf1613710c6e6b54e8190b66543861711b8a (diff) | |
download | rails-191facc857bb4fb52078fb544c6bc1613a81cc80.tar.gz rails-191facc857bb4fb52078fb544c6bc1613a81cc80.tar.bz2 rails-191facc857bb4fb52078fb544c6bc1613a81cc80.zip |
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.
Diffstat (limited to 'actionview')
0 files changed, 0 insertions, 0 deletions