rails g model references code example
Example 1: rails generation references
rails g model Review article:references
Example 2: rails g model
$ rails generate model Article title:string text:text
Example 3: rails g model references
rails generate model Micropost user:references