aboutsummaryrefslogtreecommitdiffstats
path: root/rails.gemspec
diff options
context:
space:
mode:
authorbogdanvlviv <bogdanvlviv@gmail.com>2018-09-20 12:16:51 +0300
committerbogdanvlviv <bogdanvlviv@gmail.com>2018-09-20 12:25:01 +0300
commit80e31d217e798c2b440732a71e07db1cdc87ff87 (patch)
treef39bb4f161edbc58d6744d71200c77c2e477966d /rails.gemspec
parentf1dcfc6ccb9ceb0bfa76819acc2c3ed1bc691ef8 (diff)
downloadrails-80e31d217e798c2b440732a71e07db1cdc87ff87.tar.gz
rails-80e31d217e798c2b440732a71e07db1cdc87ff87.tar.bz2
rails-80e31d217e798c2b440732a71e07db1cdc87ff87.zip
Make `ActiveRecord::Result#to_a` as alias to `ActiveRecord::Result#to_ary`
`ActiveRecord::Result#to_a` was introduced in #33912. I would prefer to make `to_a` as alias to the `to_ary` because: - It would be clear for users from https://edgeapi.rubyonrails.org/classes/ActiveRecord/Result.html that `to_a` and `to_ary` are the same - For us it would take less efforts in case if we needed to change the docs or implementation, since the methods are the same Follow up #33912
Diffstat (limited to 'rails.gemspec')
0 files changed, 0 insertions, 0 deletions