cache_unless(condition, name = {}, options = nil, &block)
Instance Public methods
Cache fragments of a view unless condition
is true
1 2 3 4 | <%= cache_unless admin?, project do %> <b>All the topics on this project</b> <%= render project.topics %> <% end %> |
Please login to continue.