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 [6f84c73dc48538202766cff3d973a53d3c30848e] by Jon Leighton

Revision 6f84c73dc48538202766cff3d973a53d3c30848e, committed by Jon Leighton · April 18th, 2011 @ 11:15 PM

Un-deprecate using 'default_scope' as a macro, but if you are calling the macro multiple times that will give deprecation warnings, and in 3.2 we will simply overwrite the default scope when you call the macro multiple times.
https://github.com/rails/rails/commit/6f84c73dc48538202766cff3d973a...

10 changed files

  • M activerecord/CHANGELOG
  • M activerecord/lib/active_record/base.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/post.rb
  • M activerecord/test/models/reference.rb
  • M activerecord/test/models/without_table.rb