Using ActiveSupport::Cache::Store, you should be able to do
<% cache(key, expires_in: 1.hour) do %>
<!-- content -->
<% end %>
Using ActiveSupport::Cache::Store, you should be able to do
<% cache(key, expires_in: 1.hour) do %>
<!-- content -->
<% end %>