@@ -1632,7 +1632,7 @@ def default_form_builder_class
1632
1632
#
1633
1633
# A +FormBuilder+ object is associated with a particular model object and
1634
1634
# allows you to generate fields associated with the model object. The
1635
- # +FormBuilder+ object is yielded when using + form_with+ or +fields_for+.
1635
+ # +FormBuilder+ object is yielded when using # form_with or +fields_for+.
1636
1636
# For example:
1637
1637
#
1638
1638
# <%= form_with model: @person do |person_form| %>
@@ -2033,12 +2033,12 @@ def field_name(method, *methods, multiple: false, index: @options[:index])
2033
2033
end
2034
2034
alias_method :text_area , :textarea
2035
2035
2036
- # Creates a scope around a specific model object like + form_with+ , but
2036
+ # Creates a scope around a specific model object like # form_with, but
2037
2037
# doesn't create the form tags themselves. This makes +fields_for+
2038
2038
# suitable for specifying additional model objects in the same form.
2039
2039
#
2040
- # Although the usage and purpose of +fields_for+ is similar to + form_with+ 's,
2041
- # its method signature is slightly different. Like + form_with+ , it yields
2040
+ # Although the usage and purpose of +fields_for+ is similar to # form_with's,
2041
+ # its method signature is slightly different. Like # form_with, it yields
2042
2042
# a FormBuilder object associated with a particular model object to a block,
2043
2043
# and within the block allows methods to be called on the builder to
2044
2044
# generate fields associated with the model object. Fields may reflect
@@ -2525,7 +2525,7 @@ def hidden_field(method, options = {})
2525
2525
# hash with +options+. These options will be tagged onto the HTML as an HTML element attribute as in the example
2526
2526
# shown.
2527
2527
#
2528
- # Using this method inside a + form_with+ block will set the enclosing form's encoding to <tt>multipart/form-data</tt>.
2528
+ # Using this method inside a # form_with block will set the enclosing form's encoding to <tt>multipart/form-data</tt>.
2529
2529
#
2530
2530
# ==== Options
2531
2531
# * Creates standard HTML attributes for the tag.
0 commit comments