-
Notifications
You must be signed in to change notification settings - Fork 588
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
Unable to annotate: ActiveRecord::Encryption::Errors::Decryption #968
Comments
+1 |
1 similar comment
+1 |
I had this issue and for me it was because I had set a default value of t.string :error_message, null: false, default: '' To: t.string :error_message solved it for me. This might be an issue with ActiveRecord::Encryption but more investigation would be required. |
I have this problem too. It looks to me like a Rails upgrade will fix it. There is a fix for encrypted column defaults in Rails v7.1.1. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm using the ActiveRecord::Encryption on column
email
and got this issue. Please help me to the right configThanks,
Commands
Version
The text was updated successfully, but these errors were encountered: