Displaying 2 results from an estimated 2 matches for "symmetrically_encrypts".
2006 Mar 24
0
undefined method `crypted_password='' while using Sentry
I''d like to hear from some one who has been using Sentry successfully.
I am trying to
symmetrically_encrypts :password
for a user model. It is a bare bones model just to test Sentry. I have
password defined as ''text'' in the users table. I have openssl library
installed on Debian Sarge. The secret key is defined in
environment.rb. But when I submit the form I get
undefined method `crypted...
2007 Aug 19
0
Sentry plugin causing migration to fail
...at uses the Sentry plug-in. I am using Sentry
on my Users model for encrypting passwords. It works fine inside the
application, but whenever I call User.create in my migration (in order
to set-up a default user) I get the following error when I run the
migrations:
rake aborted!
undefined method `symmetrically_encrypts'' for User:Class
Has anyone experienced this before? Is there a way that I can include
the Sentry plug-in somewhere so that its methods are available during
migrations?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this mess...