diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2007-05-30 06:57:04 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2007-05-30 06:57:04 +0000 |
commit | 1f802968c5a803f649fc27c7295b01aef3af6514 (patch) | |
tree | 4557d9ca4f873877824aa91a74ee5b2d9d828a86 /activerecord/test/multiple_db_test.rb | |
parent | b2681cca2e38b7465cd94d51dde14e53b724d0d1 (diff) | |
download | rails-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/test/multiple_db_test.rb')
0 files changed, 0 insertions, 0 deletions