# Rails 2.1 Caching and time\_to\_live

**URL:** <https://www.ruby-forum.com/t/rails-2-1-caching-and-time-to-live/152160>\
**Category:** Rails\
**Created:** [October 30, 2008, 5:43pm UTC](https://www.ruby-forum.com/t/rails-2-1-caching-and-time-to-live/152160 "2008-10-30T17:43:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daly](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/e79b87/32.png) [@Daly](https://www.ruby-forum.com/u/Daly)\
**Post date:** [October 30, 2008, 5:43pm UTC](https://www.ruby-forum.com/t/rails-2-1-caching-and-time-to-live/152160/1 "2008-10-30T17:43:29Z")

</div>

Hello all,

We are using the action\_cache([http://craz8.com/svn/trunk/plugins/](http://craz8.com/svn/trunk/plugins/)  
action\_cache/) plugin for time based expiry of our RSS feeds. We  
upgraded to Rails 2.1, and now it fails because the plugin calls  
@actions.include?(controller.action\_name.intern). There is no @actions  
anymore as seen in this commit ([Merge pull request #48846 from akhilgkrishnan/add-rack-lint-to-reload… · rails/rails@127138c · GitHub](http://github.com/rails/rails/commit/)  
7708650f73ddb4db300ea2059c60c1d907a4384e).

I see that @actions = is replaced by @options = so was wondering if  
it’s as simple as doing @options[:actions]? I’ve searched all over for  
this and hope to find a solution here.

Thanks,  
Ahmed
