class Shoulda::Matchers::ActiveModel::ValidatePresenceOfMatcher

def association_reflection

def association_reflection
  model.try(:reflect_on_association, @attribute)
end