This project is archived and is in readonly mode.

Changeset [6f84c73dc48538202766cff3d973a53d3c30848e] 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...

Committed by Jon Leighton

  • 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

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>