Sounds good to me!

On Saturday, May 28, 2016 at 7:47:58 AM UTC+2, Jose Camacho wrote:
>
> Add `expires_at` to expire cache similar to `expire_in`
>
> ```
>   <% cache object, expires_at: object.created_at + 1.month do %>
>     <!-- something -->
>   <% end %>
> ```
>
> I'm not sure if this is possible or if it breaks something else, but I 
> can't find it anything about this in the cache guides.
>
> Thanks
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-core+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-core@googlegroups.com.
Visit this group at https://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.

Reply via email to