Provide a better encryptor message and update Gemfile.lock.

This commit is contained in:
José Valim
2010-10-10 16:27:42 +02:00
parent 9f032350e3
commit 7bc37e5237
2 changed files with 12 additions and 4 deletions

View File

@@ -46,8 +46,8 @@ module Devise
# Nothing to say
else
puts "[DEVISE] You are using #{Devise.encryptor} as encryptor. From version 1.2, " <<
"you need to explicitly add :encryptable to your models in order for this " <<
"configuration value to work."
"you need to explicitly add `devise :encryptable, :encryptor => #{Devise.encryptor.to_sym}` " <<
"to your models and comment the value in the config/initializers/devise.rb."
end
end