• Kerri Miller's avatar
    Replace delegated predicate methods with boolean-returning methods · b3cf3d5a
    Kerri Miller authored
    Predicate methods should return a boolean value, however when we
    delegate with allow_nil to properly handle non-extant relations, we
    end up with true, false, and nil as possible responses. While we
    generally are loose about nil being equivalent to false in Ruby, I
    feel like a predicate method is a special signal that we very much
    care about the boolean nature of its response.
    b3cf3d5a
project_spec.rb 92.5 KB