Installing Devise
Montag, 04. April 2011, 01:06 Uhr | roberto@vasquez-angel.de |- Add the gem to your Gemfile:
gem 'devise'
- Install your Bundle:
$> bundle install
- Run the generator:
$> rails generate devise:install
This will generate a initialiter in your config/initializers folder. You should check the options in config/initializers/devise.rb
- Add default URL options to your mailer configuration in the environments files:
environments/development.rb:
config.action_mailer.default_url_options = { :host => 'localhost:3000' }
environments/production.rb:
config.action_mailer.default_url_options = { :host => 'blog.robotex.de' }