ngmoco / cache-money

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

Test case for counter cache bug #11

Closed yachi closed 13 years ago

yachi commented 13 years ago

The second find would call find_from_keys_without_cache and results.each{|x| x.add_to_caches} which would cause unnecessary counter increment. Thanks a lot for maintaining this gem!

ashleym1972 commented 13 years ago

Thanks for the test case. We'll get working on a solution (If you come up with that too it'll be great).