This project is archived and is in readonly mode.
Changeset [a7f920f674d234f281d2491ebe6d74710a79e663] by Ken Collins
Revision a7f920f674d234f281d2491ebe6d74710a79e663,
committed by Ken Collins
· November 8th, 2008 @ 02:39 AM
If average value from DB is 0, make sure to convert it to a 0.0 float before calling #to_d on it [#1346 state:resolved]
Signed-off-by: Joshua Peek josh@joshpeek.com http://github.com/rails/rails/co...
1 changed file
-
M
activerecord/lib/active_record/calculations.rb