Skip to content

Commit 61bdbf0

Browse files
Avoid autolinking FormHelper#form_for to itself [ci-skip]
1 parent 13afb69 commit 61bdbf0

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
@@ -209,7 +209,7 @@ module FormHelper
209209
# are designed to work with an object as base, like
210210
# FormOptionsHelper#collection_select and DateHelper#datetime_select.
211211
#
212-
# === #form_for with a model object
212+
# === +form_for+ with a model object
213213
#
214214
# In the examples above, the object to be created or edited was
215215
# represented by a symbol passed to +form_for+, and we noted that
@@ -364,7 +364,7 @@ module FormHelper
364364
#
365365
# === Removing hidden model id's
366366
#
367-
# The form_for method automatically includes the model id as a hidden field in the form.
367+
# The +form_for+ method automatically includes the model id as a hidden field in the form.
368368
# This is used to maintain the correlation between the form data and its associated model.
369369
# Some ORM systems do not use IDs on nested models so in this case you want to be able
370370
# to disable the hidden id.

0 commit comments

Comments
 (0)