No has entrat com a usuari. Pots registrar-te o entrar. Així podràs crear entrades o comentar-ne d'altres!
Gravatar
0

During the upgrading process to Rails 3.2, Devise gem was also upgraded and due to that it raises the following warnings when server starts. I'll also show you the links to remove those annoying warnings.

[DEVISE] Devise.case_insensitive_keys is false which is no longer supported. If you want to continue running 
on this mode, please ensure you are not using validatable (you can copy the validations directly to your  
model) and set case_insensitive_keys to an empty array.

Solution: https://github.com/plataformatec/devise/issues/1607

[DEVISE] Devise.use_salt_as_remember_token is false which is no longer supported. Devise now only uses the 
salt as remember token and the remember_token column can be removed from your models.

Solution: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.0

[DEVISE] Devise.reset_password_within is nil. Please set this value to an interval (for example, 6.hours) 
and add a reset_password_sent_at field to your Devise models (if they don't have one already).

Solution: https://github.com/plataformatec/devise/issues/1509



0 comentaris