提交 6822f39f 编写于 作者: S Semyon Perepelitsa

Remove HTML escaping from Record Tag Helper docs.

上级 0cf7b2f1
......@@ -10,7 +10,7 @@ module RecordTagHelper
# 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 @@ def div_for(record, *args, &block)
# 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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册