diff options
author | Roque Pinel <repinel@gmail.com> | 2015-06-12 15:30:04 -0400 |
---|---|---|
committer | Roque Pinel <repinel@gmail.com> | 2015-06-28 20:41:59 -0500 |
commit | da1674576d01f8fe3ad3b448a4c3fa636bcce106 (patch) | |
tree | 5de420942c36f327b435761fba41a0f37ac80995 /actionview/lib/action_view/gem_version.rb | |
parent | aba43b7da1f45465fc3753225e5c73046342d4ec (diff) | |
download | rails-da1674576d01f8fe3ad3b448a4c3fa636bcce106.tar.gz rails-da1674576d01f8fe3ad3b448a4c3fa636bcce106.tar.bz2 rails-da1674576d01f8fe3ad3b448a4c3fa636bcce106.zip |
Fix cache issue when different partials use the same collection
Adds the `virtual_path` option to `cache_fragment_name` so it can
be provided when needed.
That allows `cache_collection_render` to get the appropriate cache
key with the digest generated based on the template and prevent
collision with other templates that cache the same collection.
Diffstat (limited to 'actionview/lib/action_view/gem_version.rb')
0 files changed, 0 insertions, 0 deletions