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
Written by HengHong Lee
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#