How can I remove the cache of my rails webapp ?
I'm going CRAZY !
Running passenger with nginx, this was the only solution that worked for me. On the server, run:
passenger-config restart-app
See: https://www.phusionpassenger.com/library/admin/nginx/restart_app.html
Have you try this?
Rails.cache.clear
You maybe using some other cache store, if so rake tmp:cache:clear
will do nothing since no cached on the file system.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With