Created
May 13, 2015 07:41
-
-
Save reiro/5939ba5e23cb0343036e to your computer and use it in GitHub Desktop.
Установка Devise для авторизации
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gem 'devise' | |
rails generate devise:install | |
#config/environments/development.rb: | |
config.action_mailer.default_url_options = { :host => 'localhost:3000' } | |
rails generate devise:views | |
rails generate devise User | |
rake db:migrate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment