aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view
diff options
context:
space:
mode:
authorHendy Tanata <htanata@gmail.com>2011-09-05 08:05:06 +0800
committerHendy Tanata <htanata@gmail.com>2011-09-05 08:08:38 +0800
commit0a2ea92efa52165d6b840f2f18382484388389d2 (patch)
tree59e686c68316662dbae0ea10e38b4ea834aa58df /actionpack/lib/action_view
parent14157b779b9f65bb9d39cb38b100776f2fe1f194 (diff)
downloadrails-0a2ea92efa52165d6b840f2f18382484388389d2.tar.gz
rails-0a2ea92efa52165d6b840f2f18382484388389d2.tar.bz2
rails-0a2ea92efa52165d6b840f2f18382484388389d2.zip
Fix grammar for content_tag_for and div_for docs.
Diffstat (limited to 'actionpack/lib/action_view')
-rw-r--r--actionpack/lib/action_view/helpers/record_tag_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_view/helpers/record_tag_helper.rb b/actionpack/lib/action_view/helpers/record_tag_helper.rb
index ad8896a2fd..1395400159 100644
--- a/actionpack/lib/action_view/helpers/record_tag_helper.rb
+++ b/actionpack/lib/action_view/helpers/record_tag_helper.rb
@@ -18,7 +18,7 @@ module ActionView
# <div id="person_123" class="person foo"> Joe Bloggs </div>
#
# You can also pass an array of Active Record objects, which will then
- # get iterates over and yield each record as an argument for the block.
+ # get iterated over and yield each record as an argument for the block.
# For example:
#
# <%= div_for(@people, :class => "foo") do |person| %>
@@ -56,7 +56,7 @@ module ActionView
# <tr id="foo_person_123" class="person">...
#
# You can also pass an array of objects which this method will loop through
- # and yield the current object to the supplied block, reduce the need for
+ # and yield the current object to the supplied block, reducing the need for
# having to iterate through the object (using <tt>each</tt>) beforehand.
# For example (assuming @people is an array of Person objects):
#