aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/debugging_rails_applications.md
diff options
context:
space:
mode:
authorRyunosuke SATO <tricknotes.rs@gmail.com>2013-01-05 00:16:12 +0900
committerRyunosuke SATO <tricknotes.rs@gmail.com>2013-01-05 00:23:40 +0900
commit3dc1a36b7025466984e90d67f35cacddb321425e (patch)
treeb26b869ec6aae7e31a8e1aaf9fb87e95024e2f0a /guides/source/debugging_rails_applications.md
parent0cbc2406ea9a03161d7ce4de9cae5ba0800a80e5 (diff)
downloadrails-3dc1a36b7025466984e90d67f35cacddb321425e.tar.gz
rails-3dc1a36b7025466984e90d67f35cacddb321425e.tar.bz2
rails-3dc1a36b7025466984e90d67f35cacddb321425e.zip
ERB::Util::h is no longer generated in scaffold
Diffstat (limited to 'guides/source/debugging_rails_applications.md')
-rw-r--r--guides/source/debugging_rails_applications.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/guides/source/debugging_rails_applications.md b/guides/source/debugging_rails_applications.md
index 2e90e8728c..524fe46408 100644
--- a/guides/source/debugging_rails_applications.md
+++ b/guides/source/debugging_rails_applications.md
@@ -29,7 +29,7 @@ The `debug` helper will return a \<pre>-tag that renders the object using the YA
<%= debug @post %>
<p>
<b>Title:</b>
- <%=h @post.title %>
+ <%= @post.title %>
</p>
```
@@ -58,7 +58,7 @@ Displaying an instance variable, or any other object or method, in YAML format c
<%= simple_format @post.to_yaml %>
<p>
<b>Title:</b>
- <%=h @post.title %>
+ <%= @post.title %>
</p>
```
@@ -88,7 +88,7 @@ Another useful method for displaying object values is `inspect`, especially when
<%= [1, 2, 3, 4, 5].inspect %>
<p>
<b>Title:</b>
- <%=h @post.title %>
+ <%= @post.title %>
</p>
```