aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2014-05-22 14:47:04 +0930
committerMatthew Draper <matthew@trebex.net>2014-05-22 14:59:23 +0930
commit110d3d0c0bceddd05cab86c0463f0aa71df815cb (patch)
tree51f9140e099bd0af1d6ddb59e5bb62417bb35fa1 /activerecord/CHANGELOG.md
parenta0155b2f550985dce1f5bafbe62cfea9be212f57 (diff)
parent6d36c1dd05cc858dea92acbd7f3b476690878341 (diff)
downloadrails-110d3d0c0bceddd05cab86c0463f0aa71df815cb.tar.gz
rails-110d3d0c0bceddd05cab86c0463f0aa71df815cb.tar.bz2
rails-110d3d0c0bceddd05cab86c0463f0aa71df815cb.zip
Merge pull request #14803 from kuldeepaggarwal/null_relation_sum_fix
Fixed a problem where `sum` used with a `group` was not returning a Hash.
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index 1c85197ec7..3dd973d64b 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,3 +1,8 @@
+* When a `group` is set, `sum`, `size`, `average`, `minimum` and `maximum`
+ on a NullRelation should return a Hash.
+
+ *Kuldeep Aggarwal*
+
* Fixed serialized fields returning serialized data after being updated with
`update_column`.