ActiveSupport#Cache :race_condition_ttl option handling not optimal

nil.to_i ==> 0, e.g. second condition is always evaluated here...