public
Created

Security Article Part 3 - 8

  • Download Gist
show.html.haml
Haml
1 2 3 4 5 6 7 8 9 10 11
=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"

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.