n8/multi_fetch_fragments — pull request #7 by bwillis (2012-12-17 01:32:47+00:00)
Title: Dalli 2.6 requires mutable keys for read_multi and write

I was playing around and doing some performance measurements, but came across this error in my test app:
```
dalli (2.6.0) lib/active_support/cache/dalli_store.rb:270:in `force_encoding'
dalli (2.6.0) lib/active_support/cache/dalli_store.rb:270:in `expanded_key'
dalli (2.6.0) lib/active_support/cache/dalli_store.rb:128:in `block in read_multi'
dalli (2.6.0) lib/active_support/cache/dalli_store.rb:128:in `each'
dalli (2.6.0) lib/active_support/cache/dalli_store.rb:128:in `inject'
dalli (2.6.0) lib/active_support/cache/dalli_store.rb:128:in `read_multi'
multi_fetch_fragments (0.0.9) lib/multi_fetch_fragments.rb:32:in `render_collection_with_multi_fetch_cache'
```
It seems that the 2.6.0 bump brought in https://github.com/mperham/dalli/commit/aa7ff874dc3e522ad9255f363705a660d6727e7a which now requires that the given keys to cache.read_multi and cache.write must be mutable.