diff options
author | Kevin Dougherty <kdough@kdough.net> | 2016-02-19 09:04:04 -0800 |
---|---|---|
committer | Kevin Dougherty <kdough@kdough.net> | 2016-02-19 09:04:04 -0800 |
commit | 95c24e9f9aed36b2ee650dbf779cf56dcdbbede3 (patch) | |
tree | d5002187aa8d3c3d38a642bc381e0b13320d05ba /activerecord/lib/active_record/relation/batches | |
parent | be08291ebfc247e3357c221f0a06bc91cd5e52d4 (diff) | |
download | rails-95c24e9f9aed36b2ee650dbf779cf56dcdbbede3.tar.gz rails-95c24e9f9aed36b2ee650dbf779cf56dcdbbede3.tar.bz2 rails-95c24e9f9aed36b2ee650dbf779cf56dcdbbede3.zip |
Add methods to array delegation from `Relation`
Delegation of some `Array` methods was removed in commit 9d79334. That
change did add explicit delegation of a few methods that `Array` has but
which aren't on `Enumerable`. However, a few non-mutation methods were
omitted. This adds `Array` delegation of `#in_groups`, `#in_groups_of`,
`#shuffle` and `#split`. This allows things like
`MyThing.all.in_groups_of(3) { ... }` to continue working as they did
before commit 9d79334.
Diffstat (limited to 'activerecord/lib/active_record/relation/batches')
0 files changed, 0 insertions, 0 deletions