aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/layouts_and_rendering.textile
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2011-08-31 16:10:09 -0700
committerXavier Noria <fxn@hashref.com>2011-08-31 16:10:09 -0700
commite851e9e407c38e5026835471b7440ab7f2947490 (patch)
tree1093183732452a9ef34620d74d9f876a40a08796 /railties/guides/source/layouts_and_rendering.textile
parent6ce6ba8638f4995e8e7d57b304fc31d6e27ae0e5 (diff)
parentf0af56395288d6081d5b36f599fa6bc8695463d6 (diff)
downloadrails-e851e9e407c38e5026835471b7440ab7f2947490.tar.gz
rails-e851e9e407c38e5026835471b7440ab7f2947490.tar.bz2
rails-e851e9e407c38e5026835471b7440ab7f2947490.zip
Merge branch 'master' of git://github.com/lifo/docrails
Diffstat (limited to 'railties/guides/source/layouts_and_rendering.textile')
-rw-r--r--railties/guides/source/layouts_and_rendering.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/layouts_and_rendering.textile b/railties/guides/source/layouts_and_rendering.textile
index 87ba8ab82d..310a70ca9b 100644
--- a/railties/guides/source/layouts_and_rendering.textile
+++ b/railties/guides/source/layouts_and_rendering.textile
@@ -90,7 +90,7 @@ If we want to display the properties of all the books in our view, we can do so
<%= link_to 'New book', new_book_path %>
</ruby>
-NOTE: The actual rendering is done by subclasses of +ActionView::TemplateHandlers+. This guide does not dig into that process, but it's important to know that the file extension on your view controls the choice of template handler. In Rails 2, the standard extensions are +.erb+ for ERB (HTML with embedded Ruby), and +.builder+ for Builder (XML generator).
+NOTE: The actual rendering is done by subclasses of +ActionView::TemplateHandlers+. This guide does not dig into that process, but it's important to know that the file extension on your view controls the choice of template handler. Beginning with Rails 2, the standard extensions are +.erb+ for ERB (HTML with embedded Ruby), and +.builder+ for Builder (XML generator).
h4. Using +render+