aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/test_case_test.rb
diff options
context:
space:
mode:
authorRaimonds Simanovskis <raimonds.simanovskis@gmail.com>2011-01-10 18:55:32 +0200
committerAaron Patterson <aaron.patterson@gmail.com>2011-01-10 15:51:32 -0800
commitf4f4964ce0a05cac38bbff3b308ac558228bad29 (patch)
treeabfdd44377a721f46ef38aea35f68e4f55654830 /activesupport/test/test_case_test.rb
parent06165856196ac17b87163d146abea46019b17032 (diff)
downloadrails-f4f4964ce0a05cac38bbff3b308ac558228bad29.tar.gz
rails-f4f4964ce0a05cac38bbff3b308ac558228bad29.tar.bz2
rails-f4f4964ce0a05cac38bbff3b308ac558228bad29.zip
Always return decimal average of integer fields
In previous version if database adapter (e.g. SQLite and Oracle) returned non-String calculated values then type_cast_using_column converted decimal average value of intefer field to integer value. Now operation parameter is always checked to decide which conversion of calculated value should be done.
Diffstat (limited to 'activesupport/test/test_case_test.rb')
0 files changed, 0 insertions, 0 deletions