class Tapioca::Dsl::Compilers::ActiveRecordRelations
def create_where_relation_method
def create_where_relation_method relation_methods_module.create_method("where") do |method| method.add_rest_param("args") method.add_sig do |sig| sig.return_type = RelationWhereChainClassName end method.add_sig do |sig| sig.add_param("args", "T.untyped") sig.return_type = RelationClassName end end association_relation_methods_module.create_method("where") do |method| method.add_rest_param("args") method.add_sig do |sig| sig.return_type = AssociationRelationWhereChainClassName end method.add_sig do |sig| sig.add_param("args", "T.untyped") sig.return_type = AssociationRelationClassName end end end