This project is archived and is in readonly mode.

Changeset [e68f339aae4d3bc1bcf46b65cb8dcddc0ad2a435] by Aaron Patterson

October 19th, 2010 @ 11:07 PM

default scope can accept any object that responds to #call
http://github.com/rails/rails/commit/e68f339aae4d3bc1bcf46b65cb8dcd...

Committed by Aaron Patterson

  • M activerecord/lib/active_record/base.rb
  • M activerecord/test/cases/relation_scoping_test.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>