aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/query_cache.rb
diff options
context:
space:
mode:
authorPaul Nikitochkin <paul.nikitochkin@gmail.com>2013-10-12 14:38:37 +0300
committerPaul Nikitochkin <paul.nikitochkin@gmail.com>2013-10-13 22:13:50 +0300
commitbc293ff690e5478b99a55594f9fa8fe0e709941b (patch)
tree3f059f76dedbf144139369e9b735091909e112cb /activerecord/lib/active_record/query_cache.rb
parent365110196afcf952bc22729d4467d579b708328f (diff)
downloadrails-bc293ff690e5478b99a55594f9fa8fe0e709941b.tar.gz
rails-bc293ff690e5478b99a55594f9fa8fe0e709941b.tar.bz2
rails-bc293ff690e5478b99a55594f9fa8fe0e709941b.zip
Generate subquery for Relation passed as array condition for where
Instead of executing 2 queries for fetching records filtered by array condition with Relation, added generation of subquery to current query. This behaviour will be consistent when passes Relation as hash condition to where Closes: #12415
Diffstat (limited to 'activerecord/lib/active_record/query_cache.rb')
0 files changed, 0 insertions, 0 deletions