I want to remove cache from my code. My code is in Ruby on rails. The issue is that i have updated my design but it is displaying the older one.
I tried this Rails.cache.clear command but its not working .
It is giving me this error 'Rails.cache.clear' command not found.
I want to remove cache from my code. My code is in Ruby on
Share
You need to go to ./config/environments/production.rb or development.rb depending where do you launch your code, and change settings to reflect this :
and if necessary, comment out your cache store line :
Ideally the first snippet should be enaught.