ngmoco / cache-money

A Write-Through Cacheing Library for ActiveRecord
Apache License 2.0
161 stars 31 forks source link

cache-money:false in the config should only turn cache money off #19

Closed sreeix closed 13 years ago

sreeix commented 13 years ago

We use memcache.yml for memcache settings(page cacheing etc), and sometimes we want to turn only cache-money off or on without disabling $memcache completely.

It would be nice to have just turn off the cache-money part and still initialize the $memcache to be use by other parts of the application

I can provide a pull request if you think it makes sense.

ashleym1972 commented 13 years ago

Sure. We do it with a cache_money initializer. I think there is a gist about it somewhere but let's play with the pull request.