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 [407fbb50907b34f062c7670b570c44abeb21e2f6] by Matt Duncan

Revision 407fbb50907b34f062c7670b570c44abeb21e2f6, committed by Matt Duncan · August 9th, 2009 @ 01:42 AM

Adding :from scoping to ActiveRecord calculations

Signed-off-by: Michael Koziarski michael@koziarski.com 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