Skip to content

Commit 28c4f6b

Browse files
committed
Fix preposition in fields_for doc
Followup to 2a5e9bc
1 parent 62b1cec commit 28c4f6b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

actionview/lib/action_view/helpers/form_helper.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1006,8 +1006,8 @@ def form_with(model: nil, scope: nil, url: nil, format: nil, **options, &block)
10061006
# <% end %>
10071007
#
10081008
# When a collection is used you might want to know the index of each
1009-
# object into the array. For this purpose, the <tt>index</tt> method
1010-
# is available in the FormBuilder object.
1009+
# object in the array. For this purpose, the <tt>index</tt> method is
1010+
# available in the FormBuilder object.
10111011
#
10121012
# <%= form_for @person do |person_form| %>
10131013
# ...

0 commit comments

Comments
 (0)