plataformatec/devise — Issue #1573: ActiveRecord::StatementInvalid in Devise::SessionsController#create 
Author: taliking
Created: 2012-01-16 11:30:20+00:00
State: open

Hi!

I'm fairly new to rails/devise and I can't detect the source of the problem.

I installed devise via the Installation Guide and if I try to "Sign up" , there is the following error:

ActiveRecord::StatementInvalid in Devise::RegistrationsController#create

ActiveRecord::JDBCError: Bei der Konvertierung eines varchar-Datentyps in einen datetime-Datentyp liegt der Wert außerhalb des gültigen Bereichs.: INSERT INTO [users] ([created_at], [current_sign_in_at], [current_sign_in_ip], [email], [encrypted_password], [last_sign_in_at], [last_sign_in_ip], [remember_created_at], [reset_password_sent_at], [reset_password_token], [sign_in_count], [updated_at]) VALUES ('2012-01-16 10:19:18', NULL, NULL, N'test@test.de', N'$2a$10$7Iit/nLVHd3Rqppqmp7pheybjuSyhwjJwxUC7rMAPB8O7ifwpoEb.', NULL, NULL, NULL, NULL, NULL, 0, '2012-01-16 10:19:18'

Theres a problem with the conversion from a varchar-type to a datetime-type . I don't really know the exact english error, but this will give you an idea.

Thanks in advance,

David