This project is archived and is in readonly mode.

Changeset [5740d4ec0c16d68b82f440e74fd8b74ae3fe48e6] by Jon Leighton

April 13th, 2011 @ 03:46 AM

Deprecated support for passing hashes and relations to default_scope, in favour of defining a 'default_scope' class method in the model. See the CHANGELOG for more details.

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/test/cases/associations/has_many_associations_test.rb
  • M activerecord/test/cases/associations/has_one_associations_test.rb
  • M activerecord/test/cases/base_test.rb
  • M activerecord/test/cases/method_scoping_test.rb
  • M activerecord/test/cases/relation_scoping_test.rb
  • M activerecord/test/models/bulb.rb
  • M activerecord/test/models/car.rb
  • M activerecord/test/models/categorization.rb
  • M activerecord/test/models/developer.rb
  • M activerecord/test/models/pirate.rb
  • M activerecord/test/models/post.rb
  • M activerecord/test/models/reference.rb
  • M activerecord/test/models/without_table.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=""></a>