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 [b9599502c9e738a5a1513e75d08f8d40ed408265] by Pratik Naik

Revision b9599502c9e738a5a1513e75d08f8d40ed408265, committed by Pratik Naik · January 19th, 2010 @ 09:52 AM

Add Relation#construct_relation_for_association_calculations for calculations with includes
http://github.com/rails/rails/commit/b9599502c9e738a5a1513e75d08f8d...

4 changed files

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