diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2015-12-27 23:12:41 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2015-12-27 23:12:41 +0900 |
commit | bf79aa4fc14aeb2646331e767038acf0b77e9e7f (patch) | |
tree | ea732e021574697e7bf3b6495b0bc85192164d80 /activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb | |
parent | d5363e58135ea279f2a08c1a2d852ae2d11f0d65 (diff) | |
download | rails-bf79aa4fc14aeb2646331e767038acf0b77e9e7f.tar.gz rails-bf79aa4fc14aeb2646331e767038acf0b77e9e7f.tar.bz2 rails-bf79aa4fc14aeb2646331e767038acf0b77e9e7f.zip |
Improve `select_one` in `Mysql2Adapter`
Avoid instanciate `ActiveRecord::Result` and calling
`ActiveRecord::Result#hash_rows` for the performance.
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb')
0 files changed, 0 insertions, 0 deletions