Skip to content

Commit

Permalink
ERB::Util::h is no longer generated in scaffold
Browse files Browse the repository at this point in the history
  • Loading branch information
tricknotes committed Jan 4, 2013
1 parent 0cbc240 commit 3dc1a36
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions guides/source/active_support_core_extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -2413,9 +2413,9 @@ or yields them in turn if a block is passed:
```html+erb
<% sample.in_groups_of(3) do |a, b, c| %>
<tr>
<td><%=h a %></td>
<td><%=h b %></td>
<td><%=h c %></td>
<td><%= a %></td>
<td><%= b %></td>
<td><%= c %></td>
</tr>
<% end %>
```
Expand Down
6 changes: 3 additions & 3 deletions guides/source/debugging_rails_applications.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>
```

Expand Down Expand Up @@ -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>
```

Expand Down Expand Up @@ -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>
```

Expand Down

0 comments on commit 3dc1a36

Please sign in to comment.