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 [5f3bd55726703e08ba595555e1cf428c57832603] by Santiago Pastorino

Revision 5f3bd55726703e08ba595555e1cf428c57832603, committed by Santiago Pastorino · May 12th, 2010 @ 06:29 AM

type_cast_calculated_value refactor: value is never a Fixnum here. Fix test since SQLite returns Float.

[#4514 state:committed]

Signed-off-by: Jeremy Kemper jeremy@bitsweat.net
http://github.com/rails/rails/commit/5f3bd55726703e08ba595555e1cf42...

2 changed files

  • M activerecord/lib/active_record/relation/calculations.rb
  • M activerecord/test/cases/calculations_test.rb