This project is archived and is in readonly mode.

Changeset [f657371fc372101c2eec30f66417e972af265a4c] by Jonathan Viney

June 3rd, 2008 @ 12:52 AM

Ensure Associations#sum returns 0 when no rows are returned. [#295 state:resolved]

Signed-off-by: Pratik Naik

http://github.com/rails/rails/co...

Committed by Repository

  • M activerecord/lib/active_record/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>