Generates a Ralph model from a database table schema
Constructors
new(table :
Schema::DatabaseTable, associations :
Array(
InferredAssociation), output_dir :
String, dialect :
Symbol = :sqlite)
SourceInstance methods
generate
Generate and return the result
Sourcegenerate!
Generate and write the file
Source