Rails generators CLI cheatsheet

Because I got tired of forgetting the syntax and looking it up all the time

Source: Shopify

1. Model Generators

To create a model, follow this formula:

rails g model NameOfModel column_name:datatype column_name2:datatype2 --no-test-framework