Rails caching gotcha: expires_fragment silently failing? Here's how to fix it.
I recently came across an odd issue where attempts to expire a fragment cache in code run from the console or rake tasks were failing silently. I’ve written up the cause and one solution to the problem in case anyone else runs into this befuddling issue.
Post a comment