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
uninitialized constant ActiveRecord::AttributeSet #34853
Comments
This constant doesn't exist anymore in Rails 5.2. It is not safe to share the same cache between two versions of Rails. You should either flush the cache during deploy or add compatibility code in your application to handle the difference between version. |
|
Rails.cache.clear helped me as well. If anyone here is getting a related error of the form |
or this |
Note regarding Rails 6.1: We did a temporary deploy of 6.1 to our production environment to scan for errors. When reverting back to 6.0 we started hitting Redeploying 6.1 fixed our issues but running |
Thats what I did when upgrading from Rails 5.0 to Rails 5.1. |
we are trying to upgrade to rails 5.2.2 but are currently hitting this issue
ruby_version: jruby 9.2.4.0 (2.5.0)
rails : 5.2.2
redis (4.1.0)
redis-actionpack (5.0.2)
redis-activesupport (5.0.7)
redis-rack (2.0.5)
redis-rack-cache (2.0.2)
redis-rails (5.0.2)
redis-session-store (0.11.0)
redis-store (1.6.0)
this is the line of code where the issue originates from
The text was updated successfully, but these errors were encountered: