saasbook

fragment_caching.html.haml

Jul 11th, 2012
277
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.21 KB | None | 0 0
  1. -# A single row of the All Movies table
  2.   - cache(movie) do
  3.     %tr
  4.       %td= movie.title
  5.       %td= movie.rating
  6.       %td= movie.release_date
  7.       %td= link_to "More about #{movie.title}", movie_path(movie)
Advertisement
Add Comment
Please, Sign In to add comment