-
Notifications
You must be signed in to change notification settings - Fork 6
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
how to update historical unencrypted data #33
Comments
ActiveSupport has changed its default encryption method. rails/rails#29263
rails/rails#41043
|
Oops, were you talking about encrypting existing columns? |
Thank you for the explanation. |
Hello,
I'm currently using Ruby 2.5.9 and Rails 5.2. I'm facing difficulties updating historical records using the model, especially after set to encrypt a specific attribute.
The scenario involves a table with existing historical data where a decision was made to encrypt a particular attribute. After configuring the model, new objects are successfully created with the attribute encrypted. However, I encounter issues when attempting to load or update old records. Specifically, I'm receiving the error message ActiveSupport::MessageVerifier::InvalidSignature.
Could someone advise on how to update the historical data and ensure the attribute is encrypted properly?
The text was updated successfully, but these errors were encountered: