Skip to content

Instantly share code, notes, and snippets.

@joeljackson
Last active December 13, 2015 22:29
Show Gist options
  • Save joeljackson/4984474 to your computer and use it in GitHub Desktop.
Save joeljackson/4984474 to your computer and use it in GitHub Desktop.
Clearing out the Fragment Cache
Rails.cache.delete("views/#{fully_qualified_domain}/#{url}?action_suffix=#{whatever I named the suffix}&expires_in=3600")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment