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 [00cd3789f6d53163229669ad82a5d87fcdcb49ba] by Emilio Tagua

Revision 00cd3789f6d53163229669ad82a5d87fcdcb49ba, committed by Emilio Tagua · December 29th, 2009 @ 07:42 PM

Relation#count should look for projections in chained relations and perform the count on the given column

Signed-off-by: Pratik Naik pratiknaik@gmail.com
http://github.com/rails/rails/commit/00cd3789f6d53163229669ad82a5d8...

2 changed files

  • M activerecord/lib/active_record/relational_calculations.rb
  • M activerecord/test/cases/relations_test.rb