Permalink
Browse files

update README

  • Loading branch information...
1 parent cff547e commit d961a89d7a9f05a2c075735330831c51d4479e5a @flyerhzm committed Mar 7, 2010
Showing with 4 additions and 4 deletions.
  1. +4 −4 README.textile
View
@@ -203,7 +203,7 @@ post2.comments.create(:name => 'fourth')
<pre><code>
<% @posts.each do |post| %>
<tr>
- <td><%=h post.name %></td>
+ <td><%= post.name %></td>
<td><%= post.comments.collect(&:name) %></td>
<td><%= link_to 'Show', post %></td>
<td><%= link_to 'Edit', edit_post_path(post) %></td>
@@ -315,7 +315,7 @@ a N+1 query fixed. Cool!
<pre><code>
<% @posts.each do |post| %>
<tr>
- <td><%=h post.name %></td>
+ <td><%= post.name %></td>
<td><%= link_to 'Show', post %></td>
<td><%= link_to 'Edit', edit_post_path(post) %></td>
<td><%= link_to 'Destroy', post, :confirm => 'Are you sure?', :method => :delete %></td>
@@ -355,8 +355,8 @@ Remove from your finder: :include => [:comments]
<pre><code>
<% @posts.each do |post| %>
<tr>
- <td><%=h post.name %></td>
- <td><%=h post.comments.size %></td>
+ <td><%= post.name %></td>
+ <td><%= post.comments.size %></td>
<td><%= link_to 'Show', post %></td>
<td><%= link_to 'Edit', edit_post_path(post) %></td>
<td><%= link_to 'Destroy', post, :confirm => 'Are you sure?', :method => :delete %></td>

0 comments on commit d961a89

Please sign in to comment.