class Shoulda::Matchers::ActiveModel::ValidatePresenceOfMatcher
def attachment?
def attachment? model_has_associations?( ["#{@attribute}_attachment", "#{@attribute}_attachments"], ) end
def attachment? model_has_associations?( ["#{@attribute}_attachment", "#{@attribute}_attachments"], ) end