aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test/template/text_helper_test.rb
diff options
context:
space:
mode:
authorRoque Pinel <repinel@gmail.com>2015-06-12 15:30:04 -0400
committerRoque Pinel <repinel@gmail.com>2015-06-28 20:41:59 -0500
commitda1674576d01f8fe3ad3b448a4c3fa636bcce106 (patch)
tree5de420942c36f327b435761fba41a0f37ac80995 /actionview/test/template/text_helper_test.rb
parentaba43b7da1f45465fc3753225e5c73046342d4ec (diff)
downloadrails-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/test/template/text_helper_test.rb')
0 files changed, 0 insertions, 0 deletions