class Shoulda::ActiveRecord::Matchers::AssociationMatcher
def through_association_exists?
def through_association_exists? if through_reflection.nil? @missing = "#{model_class.name} does not have any relationship to #{@through}" false else true end end