class RuboCop::Cop::Rails::Presence
def replacement(receiver, other)
def replacement(receiver, other) or_source = other.nil? || other.nil_type? ? '' : " || #{other.source}" "#{receiver.source}.presence" + or_source end
def replacement(receiver, other) or_source = other.nil? || other.nil_type? ? '' : " || #{other.source}" "#{receiver.source}.presence" + or_source end