This project is archived and is in readonly mode.
Changeset [019cd51a3f36ec7631bf1b63c069e62a3b5185d4] by Jon Leighton
Revision 019cd51a3f36ec7631bf1b63c069e62a3b5185d4,
committed by Jon Leighton
· April 18th, 2011 @ 11:35 PM
Bring back support for passing a callable object to the
default_scope macro. You can also just use a block.
https://github.com/rails/rails/commit/019cd51a3f36ec7631bf1b63c069e...
4 changed files
-
M
activerecord/CHANGELOG -
M
activerecord/lib/active_record/base.rb -
M
activerecord/test/cases/relation_scoping_test.rb -
M
activerecord/test/models/developer.rb