Rails 5 with Devise and Functionalities

  1. Install devise an and testing


2. Add Admin Role model


3.  Add confirmation to user who can actively use the content on website


If you have already generated devise view’s referring in 1st point for the application you then only generate confirmation view By:

rails generate devise:views confirmable 

4. .  Require Admin to activate



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s