Email not truncated when use deleted
|Category:||Accounts / authentication|
I have some user deleted before. Try to create user with previously entered user's email and got the error "Email has already been taken".
Checked that the email_addresses table still have the old mail and id info. but the ID is already deleted from the users table.
#1 Updated by Go MAEDA almost 3 years ago
- Status changed from New to Needs feedback
I cannot reproduce it. There seems no problem in app/models/user.rb.
has_many :email_addresses, :dependent => :delete_all
Could you please describe the procedure to reproduce?