namespace

Rails Devise User Model with Roles

Configure devise (for multiple types of accounts) install the devise engine: bin/rails generate devise:install now follow the basic setup config – add to config/environments/development.rb config.action_mailer.default_url_options = { host: 'localhost', port: 3000 } add notifications to the layout for devise in app/views/layouts/application.