<% cache("news-updates", :expires_in => 1.hour) do %> <% if NewsUpdate.recent.any? %> <% end %> <% end %>