How To Memoize False and Nil Values
TL;DR: if method can return false or nil, and you want to memoize it, use defined?(@_result)...
Tags: ruby, rails, tutorial, development