RubyFlow The Ruby and Rails community linklog


The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

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

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in