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 [3b3798506b403911665c3c24fd055b75d6f6a44f] by Matt Duncan

Revision 3b3798506b403911665c3c24fd055b75d6f6a44f, committed by Matt Duncan · August 9th, 2009 @ 01:43 AM

Adding :from scoping to ActiveRecord calculations

Signed-off-by: Michael Koziarski michael@koziarski.com [#1229 state:committed] http://github.com/rails/rails/co...

3 changed files

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