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 [93e10f9911fb2a096681ee0a0bc82487a9a06c44] by Jan De Poorter

Revision 93e10f9911fb2a096681ee0a0bc82487a9a06c44, committed by Jan De Poorter · July 23rd, 2008 @ 12:02 PM

Ensure NamedScope#any? uses COUNT query wherever possible. [#680 state:resolved]

Signed-off-by: Pratik Naik

http://github.com/rails/rails/co...

2 changed files

  • M activerecord/lib/active_record/named_scope.rb
  • M activerecord/test/cases/named_scope_test.rb