Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Allow setting options on cache_fu's #get_cache method

#141

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.

Reported by Brian Donovan · October 19th, 2007 @ 03:32 PM

State: resolved
Milestone: none
Assigned to: Chris Wanstrath Chris Wanstrath

Activity

  1. Chris Wanstrath
    Chris Wanstrath
    • State changed from new to resolved

    (from [411]) cache_fu: allow passing of options to instance #get_cache [Brian Donovan] [#141 state:resolved]

    http://plugins.require.errtheblo...

    October 29th, 2007 @ 01:00 PM

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.