aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/fixtures/functional_caching
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2012-11-26 00:59:48 -0800
committerDavid Heinemeier Hansson <david@loudthinking.com>2012-11-26 00:59:48 -0800
commit1081ae20fb1d23b27e21e3e9f1de62253e34804f (patch)
tree2ad09cdf2484d9dc3edc13423b0b0547a285dd83 /actionpack/test/fixtures/functional_caching
parentdc973e78560a6514ab172f0ee86dc84a9147d39a (diff)
parent7fb8c670474cf553a3540ac283d30dba02d9ea61 (diff)
downloadrails-1081ae20fb1d23b27e21e3e9f1de62253e34804f.tar.gz
rails-1081ae20fb1d23b27e21e3e9f1de62253e34804f.tar.bz2
rails-1081ae20fb1d23b27e21e3e9f1de62253e34804f.zip
Merge pull request #8317 from latortuga/cache-digest-opt-out
Add explicit opt-out for fragment cache digesting
Diffstat (limited to 'actionpack/test/fixtures/functional_caching')
-rw-r--r--actionpack/test/fixtures/functional_caching/fragment_cached_without_digest.html.erb3
1 files changed, 3 insertions, 0 deletions
diff --git a/actionpack/test/fixtures/functional_caching/fragment_cached_without_digest.html.erb b/actionpack/test/fixtures/functional_caching/fragment_cached_without_digest.html.erb
new file mode 100644
index 0000000000..3125583a28
--- /dev/null
+++ b/actionpack/test/fixtures/functional_caching/fragment_cached_without_digest.html.erb
@@ -0,0 +1,3 @@
+<body>
+<%= cache 'nodigest', skip_digest: true do %><p>ERB</p><% end %>
+</body>