rails-generate.com
Contact
Languages
English
Languages
Model
Controller
Scaffold
rails generate model
The quick and simple editor for Ruby on Rails commands
1. What is your Model name?
Model Name
Model Name
2. Input the Column names, types, index, etc.
Field
Field
Type
string
Type
index
uniq
Field
Field
Type
text
Type
index
uniq
Field
Field
Type
string
Type
index
uniq
Show advanced options
Paste this command into your terminal and press Enter
bin/rails generate model Article title:string body:text