-
Notifications
You must be signed in to change notification settings - Fork 425
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
Undefined method #key?
for nil:NilClass
#423
Comments
I had a similar errors when trying to upgrade to Rails 7:
Instead of getting set to |
It seems to collide with Rails 7's new https://edgeguides.rubyonrails.org/active_record_encryption.html |
I was able to use this blog post to remove attr_encrypted from my rails 7 upgrade of my app |
This method crashes on
self.class.encrypted_attributes.key?
.I was using this in a migration when I got this issue.
The text was updated successfully, but these errors were encountered: