Skip to content

Commit 5c87b05

Browse files
committed
Make link to form_with explicit [ci skip]
As `form_with` is defined on FormHelper, we need to link explicitly inside `FormBuilder`.
1 parent 4621f71 commit 5c87b05

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

actionview/lib/action_view/helpers/form_helper.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1633,7 +1633,8 @@ def default_form_builder_class
16331633
#
16341634
# A +FormBuilder+ object is associated with a particular model object and
16351635
# allows you to generate fields associated with the model object. The
1636-
# +FormBuilder+ object is yielded when using #form_with or #fields_for.
1636+
# +FormBuilder+ object is yielded when using
1637+
# {form_with}[rdof-ref:ActionView::Helpers::FormHelper#form_with] or #fields_for.
16371638
# For example:
16381639
#
16391640
# <%= form_with model: @person do |person_form| %>

0 commit comments

Comments
 (0)