rails generate controller vs rails generate model code example
Example: rails g resource
rails g resource ModelName column_name:datatype column_name2:datatype2 --no-test-framework
rails g resource ModelName column_name:datatype column_name2:datatype2 --no-test-framework