This project is archived and is in readonly mode.

Changeset [068527baaf9a49862281c4357296262ae73542d0] 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...

Committed by Ken Collins

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

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>