lib/arql/commands/models.rb in arql-0.3.16 vs lib/arql/commands/models.rb in arql-0.3.17
- old
+ new
@@ -39,6 +39,14 @@
end
def tables
models
end
+
+ def model_classes
+ ::ArqlModel.subclasses
+ end
+
+ def table_names
+ models[2..-1].map(&:first)
+ end
end