1
0
Fork 0
mirror of https://github.com/heartcombo/devise.git synced 2022-11-09 12:18:31 -05:00
heartcombo--devise/lib/generators/templates
José Valim 96f55a7ac7 Update docs and CHANGELOG.
Conflicts:

	CHANGELOG.rdoc
2011-10-10 14:45:30 +02:00
..
simple_form_for Add more missing :require => true 2011-06-30 15:29:35 -03:00
devise.rb Edited lib/generators/templates/devise.rb via GitHub 2011-09-21 12:58:10 -07:00
README Update docs and CHANGELOG. 2011-10-10 14:45:30 +02:00

===============================================================================

Some setup you must do manually if you haven't yet:

  1. Setup default url options for your specific environment. Here is an
     example of development environment:

       config.action_mailer.default_url_options = { :host => 'localhost:3000' }

     This is a required Rails configuration. In production it must be the
     actual host of your application

  2. Ensure you have defined root_url to *something* in your config/routes.rb.
     For example:

       root :to => "home#index"

  3. Ensure you have flash messages in app/views/layouts/application.html.erb.
     For example:

       <p class="notice"><%= notice %></p>
       <p class="alert"><%= alert %></p>

  4. If you are deploying Rails 3.1 on Heroku, you may want to set:

       config.assets.initialize_on_precompile = false

     On config/application.rb forcing your application to not access the DB
     or load models when precompiling your assets.

===============================================================================