rails/rails — pull request #5112 by nupurjain (2012-02-21 11:33:44+00:00)
Title: suggested changes.

@josevalim thanks for the answer and explanation on #4899.
As per the suggestion, check for ````entry && !entry.expired?```` instead of returning true or false.
Hope this looks okay.