Ruby on Rails Tuesday, December 30, 2014

On 30 December 2014 at 13:33, Ankur Kumar <> wrote:
> Thanks Colin for your reply. Can you please let me know how can user_id be
> included in caching key string? I have following implementation of caching
> as of now.
> app/views/employee/index.html.erb
> <% cache "employee_list "do %>

Something like
cache "employee_list #{}" do
so the user id is included in cache key. Similarly for expire.


You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
To view this discussion on the web visit
For more options, visit

No comments:

Post a Comment