diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2016-11-05 23:20:53 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2016-11-06 02:56:26 +0900 |
commit | 62bb8b9dfdf4101b4cefedb36a97531e750d623c (patch) | |
tree | 24f1bf3f80c7eea3b088d501d801728aab33b079 /README.md | |
parent | 95ea51e97bd758591d13d3bf27682d83a15bd1aa (diff) | |
download | rails-62bb8b9dfdf4101b4cefedb36a97531e750d623c.tar.gz rails-62bb8b9dfdf4101b4cefedb36a97531e750d623c.tar.bz2 rails-62bb8b9dfdf4101b4cefedb36a97531e750d623c.zip |
Avoid `unscope(:order)` when `limit_value` is presented for `count`
If `limit_value` is presented, records fetching order is very important
for performance. Should not unscope the order in the case.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions