This project is archived and is in readonly mode.

Changeset [5f3bd55726703e08ba595555e1cf428c57832603] 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...

Committed by Santiago Pastorino

  • 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>