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 [95d5d9b6c48c08f1fba0c77ecbc97b62b2603824] by Ken Collins

Revision 95d5d9b6c48c08f1fba0c77ecbc97b62b2603824, committed by Ken Collins · February 3rd, 2011 @ 10:00 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/95d5d9b6c48c08f1fba0c77ecbc97...

2 changed files

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