This project is archived and is in readonly mode.

Changeset [256b363eeecf6d0fb896aabd3fc619e200a5062c] by Jon Leighton

April 17th, 2011 @ 08:47 PM

Revert "Deprecate defining scopes with a callable (lambda, proc, etc) via the scope class method. Just define a class method yourself instead."

This reverts commit f0e198bfa1e3f9689e0cde1d194a44027fc90b3c.

Conflicts:

activerecord/test/models/post.rb

https://github.com/rails/rails/commit/256b363eeecf6d0fb896aabd3fc61...

Committed by Jon Leighton

  • M activerecord/CHANGELOG
  • M activerecord/lib/active_record/named_scope.rb
  • M activerecord/test/cases/named_scope_test.rb
  • M activerecord/test/models/comment.rb
  • M activerecord/test/models/post.rb
  • M activerecord/test/models/topic.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>