diff options
author | Kris Selden <kris.selden@gmail.com> | 2014-04-17 14:18:58 -0700 |
---|---|---|
committer | Kris Selden <kris.selden@gmail.com> | 2014-04-17 14:18:58 -0700 |
commit | 1a7338d868d68ecef899fb8d81cf37852cc94a8c (patch) | |
tree | ceac754a8f67295c446e60aa00315b6c3fed2ed7 /activerecord/lib/active_record/timestamp.rb | |
parent | 1de258e6c632c8868be71ca088de673562436b96 (diff) | |
download | rails-1a7338d868d68ecef899fb8d81cf37852cc94a8c.tar.gz rails-1a7338d868d68ecef899fb8d81cf37852cc94a8c.tar.bz2 rails-1a7338d868d68ecef899fb8d81cf37852cc94a8c.zip |
Optimize select_value, select_values, select_rows and dry up checking whether to exec with cache for Postgresql adapter
Reduces creating unused objects, with the most dramatic reduction in select_values which used to map(&:first) an array of single element arrays.
Diffstat (limited to 'activerecord/lib/active_record/timestamp.rb')
0 files changed, 0 insertions, 0 deletions