aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorSemyon Perepelitsa <sema@sema.in>2011-04-22 23:12:14 +0800
committerSemyon Perepelitsa <sema@sema.in>2011-04-22 23:12:14 +0800
commit6822f39f67729884d7911b42542c965434a22250 (patch)
tree1177ede16d5a191961730c5e4a768e8a35677891 /actionpack
parent0cf7b2f1b4e0506ed015ed924933ecad441deee7 (diff)
downloadrails-6822f39f67729884d7911b42542c965434a22250.tar.gz
rails-6822f39f67729884d7911b42542c965434a22250.tar.bz2
rails-6822f39f67729884d7911b42542c965434a22250.zip
Remove HTML escaping from Record Tag Helper docs.
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_view/helpers/record_tag_helper.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/lib/action_view/helpers/record_tag_helper.rb b/actionpack/lib/action_view/helpers/record_tag_helper.rb
index 4d300a1469..142a25f118 100644
--- a/actionpack/lib/action_view/helpers/record_tag_helper.rb
+++ b/actionpack/lib/action_view/helpers/record_tag_helper.rb
@@ -10,7 +10,7 @@ module ActionView
# relate to the specified Active Record object. Usage example:
#
# <%= div_for(@person, :class => "foo") do %>
- # <%=h @person.name %>
+ # <%= @person.name %>
# <% end %>
#
# produces:
@@ -25,8 +25,8 @@ module ActionView
# that relate to the specified Active Record object. For example:
#
# <%= content_tag_for(:tr, @person) do %>
- # <td><%=h @person.first_name %></td>
- # <td><%=h @person.last_name %></td>
+ # <td><%= @person.first_name %></td>
+ # <td><%= @person.last_name %></td>
# <% end %>
#
# would produce the following HTML (assuming @person is an instance of