aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation/batches
diff options
context:
space:
mode:
authorKevin Dougherty <kdough@kdough.net>2016-02-19 09:04:04 -0800
committerKevin Dougherty <kdough@kdough.net>2016-02-19 09:04:04 -0800
commit95c24e9f9aed36b2ee650dbf779cf56dcdbbede3 (patch)
treed5002187aa8d3c3d38a642bc381e0b13320d05ba /activerecord/lib/active_record/relation/batches
parentbe08291ebfc247e3357c221f0a06bc91cd5e52d4 (diff)
downloadrails-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