aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer
diff options
context:
space:
mode:
authorPratik Naik <pratiknaik@gmail.com>2008-10-04 20:03:42 +0100
committerPratik Naik <pratiknaik@gmail.com>2008-10-04 20:13:44 +0100
commit9599948fbcd67c1c2c5fecc2dca148e998479e33 (patch)
tree919ce7796f1605c3ba6f7edc81afc2bcac4eaad5 /actionmailer
parent1dfebd4f0d25ecf50ba4e320234523d9ee3f7523 (diff)
downloadrails-9599948fbcd67c1c2c5fecc2dca148e998479e33.tar.gz
rails-9599948fbcd67c1c2c5fecc2dca148e998479e33.tar.bz2
rails-9599948fbcd67c1c2c5fecc2dca148e998479e33.zip
Ensure Model.sum and Model.avg typecast appropriately. [#1066 state:resolved]
Model.sum delegates typecasting to the column being summed. If that's not feasible, returns a string. Model.avg always returns big decimal.
Diffstat (limited to 'actionmailer')
0 files changed, 0 insertions, 0 deletions