rails g model resource 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