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

Revision ad73a3aec4665d8a44060640e51075fd732c33a1, committed by Santiago Pastorino · May 12th, 2010 @ 06:28 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/ad73a3aec4665d8a44060640e51075...

2 changed files

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