aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2018-01-11 02:19:58 +0900
committerRyuta Kamizono <kamipo@gmail.com>2018-01-11 03:29:50 +0900
commitb4f64cb1595f2abd3d7e47805273f4f029718829 (patch)
tree3e58dbd5911596ce663a0e2f30ce3ae6c0b01fca /activesupport/test
parent96f59306101a6ee252df2a9636ef2569d26924f7 (diff)
downloadrails-b4f64cb1595f2abd3d7e47805273f4f029718829.tar.gz
rails-b4f64cb1595f2abd3d7e47805273f4f029718829.tar.bz2
rails-b4f64cb1595f2abd3d7e47805273f4f029718829.zip
Make `relation.exists?` more performant when using eager loading
`relation.exists?` just wants to know if there is a result or not, does not need the exact records matched. Therefore, an intermediate SELECT query for eager loading is not necessary.
Diffstat (limited to 'activesupport/test')
0 files changed, 0 insertions, 0 deletions