This project is archived and is in readonly mode.
Changeset [b1b26af9a2f1c2037f7c2167d747ed33cc639763] by Tim Morgan
Revision b1b26af9a2f1c2037f7c2167d747ed33cc639763,
committed by Tim Morgan
· October 19th, 2010 @ 10:43 PM
Allow default_scope to accept a Proc.
http://github.com/rails/rails/commit/b1b26af9a2f1c2037f7c2167d747ed...
3 changed files
-
M
activerecord/lib/active_record/base.rb -
M
activerecord/test/cases/relation_scoping_test.rb -
M
activerecord/test/models/post.rb