This project is archived and is in readonly mode.
Allow returning nil from a named_scope lambda
-
Daniel Morrison
+1
Looks good, and I've definitely wanted this pattern more than once.
-
mileszs
+1
Straight-forward, makes a lot of sense, and I'd use it immediately.
-
kris chambers
+1 Looks good. I have always been wanting this for a while.
-
kris chambers
"I have been wanting this for a while." One day I will learn to read my comment before posting it.
-
Repository
- State changed from new to resolved
- Tag changed from patch to patch, verified
(from [91b98cf0a5417ce4042a0b3cd1930d5a221b737f]) Returning nil from named scope lambda is equivalent to an empty hash [#1773 Allow returning nil from a named_scope lambda state:resolved]
Signed-off-by: Pratik Naik pratiknaik@gmail.com http://github.com/rails/rails/co...
