This project is archived and is in readonly mode.
Changeset [256b363eeecf6d0fb896aabd3fc619e200a5062c] by Jon Leighton
Revision 256b363eeecf6d0fb896aabd3fc619e200a5062c,
committed 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...
6 changed files
-
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