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]')


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to