Skip to content

Instantly share code, notes, and snippets.

@13k
Created April 3, 2014 16:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 13k/9957496 to your computer and use it in GitHub Desktop.
Save 13k/9957496 to your computer and use it in GitHub Desktop.
fragment cache fetch/expire
ActionController::Base.new.read_fragment('key')
ActionController::Base.new.expire_fragment('key')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment