diff options
| author | Ryuta Kamizono <kamipo@gmail.com> | 2018-01-07 12:42:37 +0900 |
|---|---|---|
| committer | Ryuta Kamizono <kamipo@gmail.com> | 2018-01-07 12:52:59 +0900 |
| commit | 68754d37706f11ca363b3108eda10749b9957817 (patch) | |
| tree | c874adc065384214f1876ce1c3ae7e22cbff52d9 /actionpack/lib/action_dispatch/middleware/remote_ip.rb | |
| parent | a194c527fa7b16840fd1b1250dc9f624c6536546 (diff) | |
| download | rails-68754d37706f11ca363b3108eda10749b9957817.tar.gz rails-68754d37706f11ca363b3108eda10749b9957817.tar.bz2 rails-68754d37706f11ca363b3108eda10749b9957817.zip | |
Fix `last` with `offset` to behave consistently with loaded relation
Currently `last` with `offset` behaves incorrectly because `offset` can
not be reversed like `limit`. Therefore, `offset` should also be handled
like `limit`.
Diffstat (limited to 'actionpack/lib/action_dispatch/middleware/remote_ip.rb')
0 files changed, 0 insertions, 0 deletions
