This project is archived and is in readonly mode.

Changeset [91b98cf0a5417ce4042a0b3cd1930d5a221b737f] 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...

Committed by Elijah Miller

  • M activerecord/lib/active_record/named_scope.rb
  • M activerecord/test/cases/named_scope_test.rb
  • M activerecord/test/models/topic.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>