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 [f0e198bfa1e3f9689e0cde1d194a44027fc90b3c] by Jon Leighton

Revision f0e198bfa1e3f9689e0cde1d194a44027fc90b3c, committed 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.
https://github.com/rails/rails/commit/f0e198bfa1e3f9689e0cde1d194a4...

6 changed files

  • 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