Flowdock
method

cache_unless

Importance_1
v4.0.2 - Show latest stable - 0 notes - Class: ActionView::Helpers::CacheHelper
cache_unless(condition, name = {}, options = nil, &block) public

Cache fragments of a view unless condition is true

<%= cache_unless admin?, project do %>
  <b>All the topics on this project</b>
  <%= render project.topics %>
<% end %>
Show source
Register or log in to add new notes.