aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation/batches.rb
diff options
context:
space:
mode:
authorKris Selden <kris.selden@gmail.com>2014-04-17 14:18:58 -0700
committerKris Selden <kris.selden@gmail.com>2014-04-17 14:18:58 -0700
commit1a7338d868d68ecef899fb8d81cf37852cc94a8c (patch)
treeceac754a8f67295c446e60aa00315b6c3fed2ed7 /activerecord/lib/active_record/relation/batches.rb
parent1de258e6c632c8868be71ca088de673562436b96 (diff)
downloadrails-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/relation/batches.rb')
0 files changed, 0 insertions, 0 deletions