aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/fixtures/functional_caching
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2008-07-13 13:26:48 -0500
committerJoshua Peek <josh@joshpeek.com>2008-07-13 13:26:48 -0500
commite0fef66149092dd3d2988fff64f0ce8765735687 (patch)
tree76b20ee8e265f74610eb2836be5bc27c300da2a4 /actionpack/test/fixtures/functional_caching
parent99cc85bc099a757cdd44e4f5f1be4972ab124e0d (diff)
downloadrails-e0fef66149092dd3d2988fff64f0ce8765735687.tar.gz
rails-e0fef66149092dd3d2988fff64f0ce8765735687.tar.bz2
rails-e0fef66149092dd3d2988fff64f0ce8765735687.zip
Made ActionView::Base#first_render a little more private. And added _last_render to track the most recent render. Will fix #609 as a side effect. [#609 state:resolved]
Diffstat (limited to 'actionpack/test/fixtures/functional_caching')
-rw-r--r--actionpack/test/fixtures/functional_caching/inline_fragment_cached.html.erb2
1 files changed, 2 insertions, 0 deletions
diff --git a/actionpack/test/fixtures/functional_caching/inline_fragment_cached.html.erb b/actionpack/test/fixtures/functional_caching/inline_fragment_cached.html.erb
new file mode 100644
index 0000000000..87309b8ccb
--- /dev/null
+++ b/actionpack/test/fixtures/functional_caching/inline_fragment_cached.html.erb
@@ -0,0 +1,2 @@
+<%= render :inline => 'Some inline content' %>
+<% cache do %>Some cached content<% end %>