Allow setting options on cache_fu's #get_cache method
Reported by Brian Donovan | October 19th, 2007 @ 03:32 PM
Currently you can only set options at the class and class method level. I think you should be able to do it at the instance method level when calling #get_cache. Example:
get_cache(:average_monthly_spending, :ttl => 30.minutes) do
...
end
A diff is attached against r409.
Comments and changes to this ticket
-
Chris Wanstrath October 29th, 2007 @ 01:00 PM
- State changed from new to resolved
(from [411]) cache_fu: allow passing of options to instance #get_cache [Brian Donovan] [#141 state:resolved]
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป