Skip to content

Instantly share code, notes, and snippets.

@iHiD
Created June 25, 2012 19: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 iHiD/2990615 to your computer and use it in GitHub Desktop.
Save iHiD/2990615 to your computer and use it in GitHub Desktop.
Security Article Part 3 - 8
=cache "user_#{@user.id}_#{@user.updated_at}_#{@user.media_files_updated_at}_#{@user.wall_updated_at}" do
%h2= @user.name
=cache "user_#{@user.id}_information_#{@user.updated_at}" do
=render "users/information"
=cache "user_#{@user.id}_media_files_#{@user.media_files_updated_at}" do
=render "users/media_files"
=cache "user_#{@user.id}_wall_#{@user.wall_updated_at}" do
=render "users/wall"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment