This project is archived and is in readonly mode.

Changeset [c2fbcba16d2349285368c86b849db946dc0e7d57] by Ryan Bates

May 28th, 2008 @ 11:02 AM

Ensure named_scope#empty? uses count query. [#262 state:resolved]

Signed-off-by: Pratik Naik

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

Committed by Repository

  • 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>