This project is archived and is in readonly mode.

#4827 ✓resolved
Brad Forsyth

Fragment cache not generating the proper cache key

Reported by Brad Forsyth | June 11th, 2010 @ 01:22 AM | in 2.3.9

The cache key is not being generated properly in rails 2.3.8 compared to rails 2.3.5 view cache method.

cache(['text',model]) do
... end

Should generate a key that concatenates the 'text' string to the model.cache_key string(where model is an ActiveRecord model instance).

In rails 2.3.8 the generated cache key becomes:


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=""></a>

Referenced by