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
I'm getting undefined method 'model' for class SolidCache::Entry on Rails 7.2.
undefined method 'model' for class SolidCache::Entry
I tried it on a brand new Rails project and just did gem "rails", github: "rails/rails", branch: "7-2-stable"
gem "rails", github: "rails/rails", branch: "7-2-stable"
It happens whether I do <%= cache%> in a view or Rails.cache.fetch
<%= cache%>
Rails.cache.fetch
The text was updated successfully, but these errors were encountered:
A possible quick & dirty fix (to be tested):
ActiveSupport.on_load(:solid_cache_entry) do class << self def model = self def scope_for_create = {} end end
Sorry, something went wrong.
This is fixed now that #179 is merged
Ok, I will close it then, since it is working when pointing to the main branch of solid_cache. it has not been released yet though.
solid_cache
No branches or pull requests
I'm getting
undefined method 'model' for class SolidCache::Entry
on Rails 7.2.I tried it on a brand new Rails project and just did
gem "rails", github: "rails/rails", branch: "7-2-stable"
It happens whether I do
<%= cache%>
in a view orRails.cache.fetch
The text was updated successfully, but these errors were encountered: