diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2016-06-04 18:39:18 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-02-26 21:20:39 +0900 |
commit | 84f4ab90dabbe23db0cd6f74078da6d341401d10 (patch) | |
tree | dbc6ee8a13c2206f22741227e802ff249d151f6a /activerecord/test/cases/yaml_serialization_test.rb | |
parent | 228c6c07f1b5e786c72d9e30b2755d764f7a425d (diff) | |
download | rails-84f4ab90dabbe23db0cd6f74078da6d341401d10.tar.gz rails-84f4ab90dabbe23db0cd6f74078da6d341401d10.tar.bz2 rails-84f4ab90dabbe23db0cd6f74078da6d341401d10.zip |
Fix `find_nth` with `limit_value`
If the `index` exceeds a `limit`, simply return an empty result without
querying the database.
Diffstat (limited to 'activerecord/test/cases/yaml_serialization_test.rb')
0 files changed, 0 insertions, 0 deletions