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 [f657371fc372101c2eec30f66417e972af265a4c] by Jonathan Viney

Revision f657371fc372101c2eec30f66417e972af265a4c, committed by Repository · 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...

2 changed files

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