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 [068527baaf9a49862281c4357296262ae73542d0] by Ken Collins

Revision 068527baaf9a49862281c4357296262ae73542d0, committed by Ken Collins · February 3rd, 2011 @ 10:15 PM

The type_cast_calculated_value method will trust DB types before casting to a BigDecimal.

[#6365 state:committed]

Signed-off-by: Santiago Pastorino santiago@wyeworks.com
https://github.com/rails/rails/commit/068527baaf9a49862281c43572962...

2 changed files

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