This project is archived and is in readonly mode.

Changeset [93e10f9911fb2a096681ee0a0bc82487a9a06c44] 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...

Committed by Jan De Poorter

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

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>