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

Revision 4210d85a3f3ce4e980f473e9ed2becb84b58363b, committed by Repository · June 2nd, 2008 @ 12:50 PM

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