ngmoco / cache-money

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

delete, delete!, and delete_all will make the cache stale #27

Closed sideshowbandana closed 12 years ago

sideshowbandana commented 12 years ago

What do you guys think is the best approach for handling this? How about one of these:

ashleym1972 commented 12 years ago

Since delete will just be a straight SQL call we should just document that calling delete will by-pass the cache and cause issues.