Sha256: b9031b8a4141f1623b38dce69afcf71260cc0f1610a5efc3b49a14eaf9029cd0

Contents?: true

Size: 538 Bytes

Versions: 4

Compression:

Stored size: 538 Bytes

Contents

<% view_cache :tag => :outer do %>  
  <div style="border: 1px solid black; padding: 5px;">
    <p>I invalidate quickly.</p>
    <h1><%= @items.size %> total items</h1>

    <% content_for :title do %>Outer: <% end %>
    
    <% view_cache :tag => :inner do %>
      <div style="margin: 20px; padding: 5px; border: 1px solid black;">
        <p>I invalidate slowly.</p>
        <h2>Item <%= @item.id %> is <%= @item.name %>.</h2>

         <% content_for :title do %>Inner<% end %>

      </div>
    <% end %>
    
  </div>  
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
interlock-1.4 test/integration/app/app/views/items/detail.rhtml
interlock-1.2 test/integration/app/app/views/items/detail.rhtml
interlock-1.1 test/integration/app/app/views/items/detail.rhtml
interlock-1.3 test/integration/app/app/views/items/detail.rhtml