aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/record_tag_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/lib/action_view/helpers/record_tag_helper.rb')
-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 dded9aab7c..33194250b7 100644
--- a/actionpack/lib/action_view/helpers/record_tag_helper.rb
+++ b/actionpack/lib/action_view/helpers/record_tag_helper.rb
@@ -7,7 +7,7 @@ module ActionView
# Produces a wrapper DIV element with id and class parameters that
# relate to the specified Active Record object. Usage example:
#
- # <%= div_for(@person, :class => "foo") do %>
+ # <%= div_for(@person, class: "foo") do %>
# <%= @person.name %>
# <% end %>
#
@@ -19,7 +19,7 @@ module ActionView
# get iterated over and yield each record as an argument for the block.
# For example:
#
- # <%= div_for(@people, :class => "foo") do |person| %>
+ # <%= div_for(@people, class: "foo") do |person| %>
# <%= person.name %>
# <% end %>
#
@@ -72,7 +72,7 @@ module ActionView
# additional HTML attributes. If you specify a <tt>:class</tt> value, it will be combined
# with the default class name for your object. For example:
#
- # <%= content_tag_for(:li, @person, :class => "bar") %>...
+ # <%= content_tag_for(:li, @person, class: "bar") %>...
#
# produces:
#