diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2015-05-05 14:39:07 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2015-05-05 15:43:19 +0900 |
commit | c9ba0c7cc91ff2d078b93e454d7dfdee637b320b (patch) | |
tree | 2678a10d726519f7e1db9524580e52c292326257 /activerecord/examples/performance.rb | |
parent | 984a4db3c35af4cd0e2191775b00f850f95ae66c (diff) | |
download | rails-c9ba0c7cc91ff2d078b93e454d7dfdee637b320b.tar.gz rails-c9ba0c7cc91ff2d078b93e454d7dfdee637b320b.tar.bz2 rails-c9ba0c7cc91ff2d078b93e454d7dfdee637b320b.zip |
Use `select_value` for avoid `ActiveRecord::Result` instance creating
`exec_query` create `ActiveRecord::Result` instance. It is better to use
`select_value` instead of `exec_query` for performance.
Diffstat (limited to 'activerecord/examples/performance.rb')
0 files changed, 0 insertions, 0 deletions