We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
undefines method utc for String. Recovering password, "reset_password_sent_at" variable contains a String value instead of Datetime value.
devise (4.9.2) ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x64-mingw-ucrt] Rails 7.0.6
The text was updated successfully, but these errors were encountered:
reset_password_sent_at is supposed to be a date time column in the DB, are yours setup like that?
reset_password_sent_at
Also, Devise only sets this value here:
devise/lib/devise/models/recoverable.rb
Line 93 in e2242a9
Sorry, something went wrong.
Thank you @carlosantoniodasilva. It was precisely that. By mistake, the reset_password_sent_at field was created as a string type.
👍 cool, glad I could help.
No branches or pull requests
undefines method utc for String. Recovering password, "reset_password_sent_at" variable contains a String value instead of Datetime value.
devise (4.9.2)
ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x64-mingw-ucrt]
Rails 7.0.6
The text was updated successfully, but these errors were encountered: