This project is archived and is in readonly mode.

Changeset [019cd51a3f36ec7631bf1b63c069e62a3b5185d4] by Jon Leighton

April 18th, 2011 @ 11:35 PM

Bring back support for passing a callable object to the default_scope macro. You can also just use a block.

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/developer.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>