rails/rails — pull request #11539 by gzohari (2013-07-21 21:20:16+00:00)
Title: Improved conditional for iterator

Default value for params is {} which isn't falsy.
So this should save :each from firing up every time with an empty hash.