I’m using authlogic. On my local machine everything runs fine, but on
my production server it’s giving me an error, telling me that
crypted_password can’t be null when I try and create the admin user. I
look at the error and notice that everything that’s supposed to be
encrypted or use a generated token is NULL.
Mysql::Error: Column ‘crypted_password’ cannot be null: INSERT INTO
users
(created_at
, crypted_password
, role_id
,
current_login_ip
, password_salt
, persistence_token
,
last_login_ip
, login
, email
) VALUES(‘2009-03-16 00:28:44’, NULL,
1, ‘’, NULL, NULL, ‘’, ‘admin’, ‘[email protected]’)