diff options
| author | Ben Woosley <ben.woosley@gmail.com> | 2015-10-23 14:59:31 -0500 |
|---|---|---|
| committer | Ben Woosley <ben.woosley@gmail.com> | 2015-12-24 09:02:54 -0800 |
| commit | 16a476e4f8f802774ae7c8dca2e59f4e672dc591 (patch) | |
| tree | feb68d610087c4e465581236de1b2bc1c563fb0f /activemodel/lib/active_model/validations/confirmation.rb | |
| parent | 1e42a4dfb4ae8dd86729877dbc55adcbf947fa48 (diff) | |
| download | rails-16a476e4f8f802774ae7c8dca2e59f4e672dc591.tar.gz rails-16a476e4f8f802774ae7c8dca2e59f4e672dc591.tar.bz2 rails-16a476e4f8f802774ae7c8dca2e59f4e672dc591.zip | |
Deprecate passing `offset` to `find_nth`
All uses of the `offset` are passing `offset_index`. Better to push
down the `offset` consideration into `find_nth`.
This also works toward enabling `find_nth_with_limit` to take
advantage of the `loaded?` state of the relation.
Diffstat (limited to 'activemodel/lib/active_model/validations/confirmation.rb')
0 files changed, 0 insertions, 0 deletions
