def predicate_visitor
      join_dependency = ActiveRecord::Associations::ClassMethods::JoinDependency.new(@klass, association_joins, custom_joins)
      MetaWhere::Visitors::Predicate.new(join_dependency)
    end
def predicate_visitor
      join_dependency = ActiveRecord::Associations::ClassMethods::JoinDependency.new(@klass, association_joins, custom_joins)
      MetaWhere::Visitors::Predicate.new(join_dependency)
    end
Very occasionally, we need to get a visitor for another relation, so it makes sense to factor
 these out into a public method despite only being two lines long.