Forum: Ruby on Rails Rails 2.1 Caching and time_to_live

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.
8d38199a01d2243e313c48456c6ddff9?d=identicon&s=25 Daly (Guest)
on 2008-10-30 17:43
(Received via mailing list)
Hello all,

We are using the action_cache(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 (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
This topic is locked and can not be replied to.