This project is archived and is in readonly mode.

#816 ✓resolved
Jeffrey Hardy

CompressedMemCacheStore should consider a nil options argument

Reported by Jeffrey Hardy | August 13th, 2008 @ 07:11 AM | in 2.1.1

CompressedMemCacheStore assumes that the options argument will always be a Hash. When using fragment caching, the options argument might be nil.

This patch makes the default value of options consistent with other cache stores, and ensures it's a Hash before attempting to merge it.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Attachments

Pages