aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2007-05-30 06:57:04 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2007-05-30 06:57:04 +0000
commit1f802968c5a803f649fc27c7295b01aef3af6514 (patch)
tree4557d9ca4f873877824aa91a74ee5b2d9d828a86 /activerecord/CHANGELOG
parentb2681cca2e38b7465cd94d51dde14e53b724d0d1 (diff)
downloadrails-1f802968c5a803f649fc27c7295b01aef3af6514.tar.gz
rails-1f802968c5a803f649fc27c7295b01aef3af6514.tar.bz2
rails-1f802968c5a803f649fc27c7295b01aef3af6514.zip
Calculations: return nil average instead of 0 when there are no rows to average. Closes #8298.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6904 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/CHANGELOG')
-rw-r--r--activerecord/CHANGELOG2
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG
index 8d12f3ab49..caddb6412a 100644
--- a/activerecord/CHANGELOG
+++ b/activerecord/CHANGELOG
@@ -1,5 +1,7 @@
*SVN*
+* Calculations: return nil average instead of 0 when there are no rows to average. #8298 [davidw]
+
* acts_as_nested_set: direct_children is sorted correctly. #4761 [Josh Peek, rails@33lc0.net]
* Raise an exception if both attr_protected and attr_accessible are declared. #8507 [stellsmi]