Update README with troubleshooting for heroku

Re: issue https://github.com/plataformatec/devise/
commit/96f55a7ac7a61effd03a7f43dbbdfb6af8894579
This commit is contained in:
Oskar L-B 2011-10-10 19:33:46 +02:00
parent 96f55a7ac7
commit 52282a5a26
1 changed files with 10 additions and 0 deletions

View File

@ -329,6 +329,16 @@ Devise supports ActiveRecord (default) and Mongoid. To choose other ORM, you jus
Devise implements encryption strategies for Clearance, Authlogic and Restful-Authentication. To make use of these strategies, you need set the desired encryptor in the encryptor initializer config option and add :encryptable to your model. You might also need to rename your encrypted password and salt columns to match Devise's fields (encrypted_password and password_salt).
== Troubleshooting
=== Heroku
Using devise on Heroku with Ruby on Rails 3.1 requires setting:
config.assets.initialize_on_precompile = false
Read more about the potential issues at http://guides.rubyonrails.org/asset_pipeline.html
== Additional information
=== Warden