-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create user failure with Rails 7.0 and encryption email #5436
Comments
I was having this issue as well, under Ruby 2.7.5 and 3.0.3, so I started a new application and set up authentication with the vanilla After a bit I found out that it was the |
Yes, you're right, it works when the email could be nil. In active record 7.0.1,
Another approach is setup
|
Why devise has these options in the first place? Why it has null sounds obvious, but why it has |
@giedriusr I was wondering the same thing, here's how my colleague explained it, and now it makes sense to me:
|
Pre-check
Environment
Current behavior
Error when creating user
Create user successfully if we remove devise from User model.
Expected behavior
Create user successfully when encrypts email.
The text was updated successfully, but these errors were encountered: