NoamB/sorcery — Issue #221: ActiveRecord::StatementInvalid in UsersController#create
Author: Shpigford
Created: 2012-02-22 16:57:00+00:00
State: open

When trying to create a new user, I get the following error:

SQLite3::ConstraintException: constraint failed: INSERT INTO "users" ("activation_state", "activation_token", "activation_token_expires_at", "api_key", "created_at", "crypted_password", "domains", "email", "failed_logins_count", "last_activity_at", "last_login_at", "last_logout_at", "lock_expires_at", "remember_me_token", "remember_me_token_expires_at", "reset_password_email_sent_at", "reset_password_token", "reset_password_token_expires_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)

Not sure where to even start debugging that error.

I'm running Sorcery 0.7.6 on Rails 3.2.1 and Ruby 1.9.2-p290.