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