ngmoco / cache-money

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

Is there any reason why don't populate caches for missing values? #3

Closed yachi closed 14 years ago

yachi commented 14 years ago

in lib/cash/accessor.rb: 19

http://github.com/ngmoco/cache-money/blob/master/lib/cash/accessor.rb#L19

Thanks

ashleym1972 commented 14 years ago

I have never really looked at it. It was probably easier.

ashleym1972 commented 14 years ago

It does in the block.

yachi commented 14 years ago

yes, but not if it is Array