diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-05-29 09:02:45 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-05-29 09:02:45 +0900 |
commit | 36417cf07790b645b3f3c0fde095d1059bcf0ea9 (patch) | |
tree | 1c4a75608971c9afba27e4653805f86628fdaea6 /activerecord/lib/active_record/null_relation.rb | |
parent | acdf234a4cf28fdf20dcd49ac4013d84448d65b1 (diff) | |
download | rails-36417cf07790b645b3f3c0fde095d1059bcf0ea9.tar.gz rails-36417cf07790b645b3f3c0fde095d1059bcf0ea9.tar.bz2 rails-36417cf07790b645b3f3c0fde095d1059bcf0ea9.zip |
Deprecate passing arguments and block at the same time to `count` and `sum` in `ActiveRecord::Calculations`
`select`, `count`, and `sum` in `Relation` are also `Enumerable` method
that can be passed block. `select` with block already doesn't take
arguments since 4fc3366. This is follow up of that.
Diffstat (limited to 'activerecord/lib/active_record/null_relation.rb')
0 files changed, 0 insertions, 0 deletions