Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

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