Last Updated: February 25, 2016
·
507
· henghonglee

Using devise

install correctly using the gemfile and

bundle install

following that installed devise using

rails generate devise:install

created a new model using

rails generate devise user

rake db:migrate 

to create the user table

add

devise_for :users do get 'users/sign_out', :to => 'devise/sessions#destroy' 

run rails server