Merge pull request #50134 from skipkayhil/hm-doc-fh-ff

Fix preposition in fields_for doc [ci-skip]
This commit is contained in:
Hartley McGuire 2023-11-22 09:12:45 -05:00 committed by GitHub
commit f0b587b260
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1006,8 +1006,8 @@ def form_with(model: nil, scope: nil, url: nil, format: nil, **options, &block)
# <% end %>
#
# When a collection is used you might want to know the index of each
# object into the array. For this purpose, the <tt>index</tt> method
# is available in the FormBuilder object.
# object in the array. For this purpose, the <tt>index</tt> method is
# available in the FormBuilder object.
#
# <%= form_for @person do |person_form| %>
# ...