This project is archived and is in readonly mode.

Changeset [f0e198bfa1e3f9689e0cde1d194a44027fc90b3c] by Jon Leighton

April 13th, 2011 @ 03:46 AM

Deprecate defining scopes with a callable (lambda, proc, etc) via the scope class method. Just define a class method yourself instead.

Committed by Jon Leighton

  • M activerecord/CHANGELOG
  • M activerecord/lib/active_record/named_scope.rb
  • M activerecord/test/cases/named_scope_test.rb
  • M activerecord/test/models/comment.rb
  • M activerecord/test/models/post.rb
  • M activerecord/test/models/topic.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>