rails g model -p code example Example: rails g model $ rails generate model Article title:string text:text