diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2019-01-14 22:19:58 -0500 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2019-01-17 16:08:33 -0500 |
commit | 91ddb30083430622188d76eb9f29b78131df67f9 (patch) | |
tree | a92895bf9c2f5e3b344e095e68f448b370af6248 /activerecord/CHANGELOG.md | |
parent | 67356f2034ab41305af7218f7c8b2fee2d614129 (diff) | |
download | rails-91ddb30083430622188d76eb9f29b78131df67f9.tar.gz rails-91ddb30083430622188d76eb9f29b78131df67f9.tar.bz2 rails-91ddb30083430622188d76eb9f29b78131df67f9.zip |
Do not allow passing the column name to `sum` when a block is passed
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r-- | activerecord/CHANGELOG.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index 07d41b1c18..7b441bcdb2 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,3 +1,7 @@ +* Do not allow passing the column name to `sum` when a block is passed. + + *Rafael Mendonça França* + * Do not allow passing the column name to `count` when a block is passed. *Rafael Mendonça França* |