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.

This project is archived and is in readonly mode.

MemCacheStore - Instance not Local in Decrement

#521

active_support/cache/mem_cache_store.rb does operations on a instance variable representing the cache, but the decrement method is trying the operation on an undefined local.

also, noticed that activesupport/test/caching_test.rb doesn't have implementation specific tests specified, and doesn't seem to be fully fleshed out ?

will gladly write a test for this, but wanted to confirm the above before i start to restructure things in the tests :)

Reported by Dylan Stamat · July 1st, 2008 @ 02:53 AM

State: resolved
Milestone: 2.x
Assigned to: nobody
Importance: none

Activity

  1. Repository
    Repository
    • State changed from new to resolved

    (from [7ae2105d57d3c08bebde44bd72093dd43c48d613]) MemCacheStore#decrement should use data instance variable not local variable [#521 state:resolved]

    http://github.com/rails/rails/co...

    July 17th, 2008 @ 12:45 AM