This project is archived and is in readonly mode.
Changeset [9599948fbcd67c1c2c5fecc2dca148e998479e33] by Pratik Naik
October 4th, 2008 @ 08:13 PM
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. http://github.com/rails/rails/co...
Committed by Pratik Naik
- M activerecord/lib/active_record/calculations.rb
- M activerecord/test/cases/calculations_test.rb
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>