createconfig/initializers/devise.rbcreateconfig/locales/devise.en.yml===============================================================================Somesetupyoumustdomanuallyifyouhaven'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'}ThisisarequiredRailsconfiguration.Inproductionitmustbetheactualhostofyourapplication2.Ensureyouhavedefinedroot_urlto*something*inyourconfig/routes.rb.Forexample:root:to=>"home#index"3.Ensureyouhaveflashmessagesinapp/views/layouts/application.html.erb.Forexample:<pclass="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 =falseOnconfig/application.rbforcingyourapplicationtonotaccesstheDBorloadmodelswhenprecompilingyourassets.===============================================================================