diff options
author | yui-knk <spiketeika@gmail.com> | 2016-12-19 19:47:34 +0900 |
---|---|---|
committer | yui-knk <spiketeika@gmail.com> | 2016-12-19 19:59:07 +0900 |
commit | f4c4c23d7ac80289e829487160caa3128a9ce000 (patch) | |
tree | 652a405e8f050480bb058b0394b9a7f0c56c1072 /railties/lib/rails/application.rb | |
parent | 3582f58a7558dc0ddb3051b9deb5354aee378b5b (diff) | |
download | rails-f4c4c23d7ac80289e829487160caa3128a9ce000.tar.gz rails-f4c4c23d7ac80289e829487160caa3128a9ce000.tar.bz2 rails-f4c4c23d7ac80289e829487160caa3128a9ce000.zip |
Use `#execute` instead of `@connection.query`
`@connection.query` bypasses instrumenting "sql.active_record".
This behavior preventing us from debugging SQLs which Rails generates.
Diffstat (limited to 'railties/lib/rails/application.rb')
0 files changed, 0 insertions, 0 deletions