79551102

Date: 2025-04-02 16:36:22
Score: 1.5
Natty:
Report link

In Rails 6+, you can invalidate a specific fragment using:

Rails.cache.clear(key: "the-key")
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Francisco Saez