This project is archived and is in readonly mode.
Changeset [8572ae6671c6ec7c2524f327cee82215896e5648] by Jon Leighton
April 13th, 2011 @ 03:46 AM
Evaluate default scopes at the last possible moment in order to
avoid problems with default scopes getting included into other
scopes and then being unable to remove the default part via
unscoped.
https://github.com/rails/rails/commit/8572ae6671c6ec7c2524f327cee82...
Committed by Jon Leighton
- M activerecord/CHANGELOG
- M activerecord/lib/active_record/base.rb
- M activerecord/lib/active_record/named_scope.rb
- M activerecord/lib/active_record/relation.rb
- M activerecord/lib/active_record/relation/query_methods.rb
- M activerecord/lib/active_record/relation/spawn_methods.rb
- M activerecord/test/cases/base_test.rb
- M activerecord/test/cases/relation_scoping_test.rb
- M activerecord/test/cases/relation_test.rb
- M activerecord/test/models/developer.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>