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 [e68f339aae4d3bc1bcf46b65cb8dcddc0ad2a435] by Aaron Patterson

Revision e68f339aae4d3bc1bcf46b65cb8dcddc0ad2a435, committed 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...

2 changed files

  • M activerecord/lib/active_record/base.rb
  • M activerecord/test/cases/relation_scoping_test.rb