Forum: Ruby on Rails Dont cache a variable in action

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
77a811c8d7af8f0460d63a3747c85dc7?d=identicon&s=25 Ankit Parekh (ankitparekh)
on 2008-12-29 12:25
Hi

I m facing a unique problem. I have a method which i m caching through
caches_action but in that i have one variable which i dont want to
cache..

To be specific i m using paging and if i cache the page my pagination
stops. I m using custom pagination method.

Can ne one tell me how to solve this issue. Is there a way i can make it
possible not to cache one variable in a method. Sounds odd but I dont
have ne other option in my mind

Thanks
This topic is locked and can not be replied to.