1 2 3 4
<% cache customer do %> <% controller.partial_rendered_times += 1 %> <%= customer.name %>, <%= customer.id %> <% end %>