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 [91b98cf0a5417ce4042a0b3cd1930d5a221b737f] by Elijah Miller

Revision 91b98cf0a5417ce4042a0b3cd1930d5a221b737f, committed by Elijah Miller · March 12th, 2009 @ 03:06 PM

Returning nil from named scope lambda is equivalent to an empty hash [#1773 state:resolved]

Signed-off-by: Pratik Naik pratiknaik@gmail.com http://github.com/rails/rails/co...

3 changed files

  • M activerecord/lib/active_record/named_scope.rb
  • M activerecord/test/cases/named_scope_test.rb
  • M activerecord/test/models/topic.rb