rails/rails — Issue #5091: Rails 3.2.1: Generated fragment cache key includes the word "Array" when called like ["v1", item]
Author: NoICE
Created: 2012-02-19 13:25:36+00:00
State: open

app/views/cms/menus/_menu.html.erb:
``` ruby
<% cache ["v1", menu] do %>
<%= link_to menu.name, cms_menu_path(menu) %>
<% end %>
```

somewhere else:

``` ruby
<%= render Cms::Menu.first %>
```

generates this in log:

```
Read fragment views/Array/v1/cms/menus/20-20111122120455 (0.7ms)
```