Skip to content

Instantly share code, notes, and snippets.

@cannikin
Last active August 29, 2015 14:00
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 cannikin/0d8640348c5a0f41007f to your computer and use it in GitHub Desktop.
Save cannikin/0d8640348c5a0f41007f to your computer and use it in GitHub Desktop.
- cache [@user, @user.posts] do
= @user.inspect
- @user.posts.each do |post|
- cache post do
= post.inspect
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment