Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [5740d4ec0c16d68b82f440e74fd8b74ae3fe48e6] by Jon Leighton

Revision 5740d4ec0c16d68b82f440e74fd8b74ae3fe48e6, committed 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.
https://github.com/rails/rails/commit/5740d4ec0c16d68b82f440e74fd8b...

17 changed files

  • 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