diff options
author | Sebastian Martinez <sebastian@wyeworks.com> | 2011-05-21 17:10:59 -0300 |
---|---|---|
committer | Sebastian Martinez <sebastian@wyeworks.com> | 2011-05-21 17:10:59 -0300 |
commit | 31f09a2b1821886164ffb629085d0f5b75bd0a40 (patch) | |
tree | 96e86a40a40b000f50d4731409a43ac134d10518 /railties/guides/source/getting_started.textile | |
parent | 0087ef9665e82eec357331ebce759fb1298286a7 (diff) | |
download | rails-31f09a2b1821886164ffb629085d0f5b75bd0a40.tar.gz rails-31f09a2b1821886164ffb629085d0f5b75bd0a40.tar.bz2 rails-31f09a2b1821886164ffb629085d0f5b75bd0a40.zip |
Remove extra white spaces on guides.
Diffstat (limited to 'railties/guides/source/getting_started.textile')
-rw-r--r-- | railties/guides/source/getting_started.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/getting_started.textile b/railties/guides/source/getting_started.textile index 1c66115d44..8a9086f416 100644 --- a/railties/guides/source/getting_started.textile +++ b/railties/guides/source/getting_started.textile @@ -544,7 +544,7 @@ This view iterates over the contents of the +@posts+ array to display content an * +link_to+ builds a hyperlink to a particular destination * +edit_post_path+ and +new_post_path+ are helpers that Rails provides as part of RESTful routing. You'll see a variety of these helpers for the different actions that the controller includes. -NOTE. In previous versions of Rails, you had to use +<%=h post.name %>+ so that any HTML would be escaped before being inserted into the page. In Rails 3.0, this is now the default. To get unescaped HTML, you now use +<%= raw post.name %>+. +NOTE. In previous versions of Rails, you had to use +<%=h post.name %>+ so that any HTML would be escaped before being inserted into the page. In Rails 3.0, this is now the default. To get unescaped HTML, you now use +<%= raw post.name %>+. TIP: For more details on the rendering process, see "Layouts and Rendering in Rails":layouts_and_rendering.html. |