aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/base.rb
diff options
context:
space:
mode:
authorSean Griffin <sean@seantheprogrammer.com>2015-11-23 13:47:42 -0700
committerSean Griffin <sean@seantheprogrammer.com>2015-11-23 13:47:42 -0700
commit9d79334a1dee67e31222c790e231772deafcaeb8 (patch)
tree5e3d1c7fa0f194460fabd80089d922df59cee9fe /activerecord/lib/active_record/base.rb
parent762982f2325ce04a50f2f56b698b9fb7e606a518 (diff)
downloadrails-9d79334a1dee67e31222c790e231772deafcaeb8.tar.gz
rails-9d79334a1dee67e31222c790e231772deafcaeb8.tar.bz2
rails-9d79334a1dee67e31222c790e231772deafcaeb8.zip
Remove blanket array delegation from `Relation`
As was pointed out by #17128, our blacklist of mutation methods was non-exhaustive (and would need to be kept up to date with each new version of Ruby). Now that `Relation` includes `Enumerable`, the number of methods that we actually need to delegate are pretty small. As such, we can change to explicitly delegating the few non-mutation related methods that `Array` has which aren't on `Enumerable`
Diffstat (limited to 'activerecord/lib/active_record/base.rb')
0 files changed, 0 insertions, 0 deletions