rails g devise code example Example 1: devise rails g views rails generate devise:views Example 2: rails install devise rails generate devise:install