i wonder why in dryml doesn't work fragment caching. do i doing
something wrong ?
when i enclose my code in block of cache it is never rendered.
Here is example:
<% cache [:subcategories, @category.id], :expires_in => 15 do %>
<% @category.children.in_groups_of(3) do |group_of_three| %>
<tr align="left">
<% group_of_three.each do |category| %>
<% unless category.nil? %>
<th></th>
<th><br /><%= link_to category.name,
category.seo_link %> (<%= category.count_products_recursive %>)<br /
><br /></th>
<% end %>
<% end %>
</tr>
<tr>
<% group_of_three.each do |category| %>
<td class="category_list_left_line"> </td>
<td width="31%">
<ul>
<% unless category.nil? %>
<% category.children.each do |product_group| %>
<li><%= link_to product_group.name,
product_group.seo_link %> (<%= product_group.count_products_recursive
%>)</li>
<% end %>
<% end %>
</ul>
</td>
<% end %>
</tr>
<tr><td colspan="3"> </td></tr>
<% end %>
<% end %>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---