Ruby on Rails Tuesday, December 23, 2014


Hi,

My app has devise authentication for every user. I integrated fragment caching for one of my views which is accessible only on sign-in. 

The cached page saved by one user is accessible by another user. How can I implement a unique key based caching so that cached pages are unique for every user?

I read about some caching methods below but not sure how to create/retrieve a unique cached page.


Thanks.
--
Regards,
Ankur 

--
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CALSL1eNihRf%2BbnoR-bm1MUTC4OEn6F5VH6ETs7tWXhDu%2By6kRA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment