You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: actionview/lib/action_view/helpers/form_options_helper.rb
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ module Helpers # :nodoc:
13
13
#
14
14
# Provides a number of methods for turning different kinds of containers into a set of option tags.
15
15
#
16
-
# The <tt>collection_select</tt>, <tt>select</tt> and <tt>time_zone_select</tt> methods take an <tt>options</tt> parameter, a hash:
16
+
# The #collection_select, #select and #time_zone_select methods take an <tt>options</tt> parameter, a hash:
17
17
#
18
18
# * <tt>:include_blank</tt> - set to true or a prompt string if the first option element of the select element is a blank. Useful if there is not a default value required for the select element.
19
19
#
@@ -55,7 +55,7 @@ module Helpers # :nodoc:
55
55
# <option value="3">Rafael</option>
56
56
# </select>
57
57
#
58
-
# * <tt>:index</tt> - like the other form helpers, <tt>select</tt> can accept an <tt>:index</tt> option to manually set the ID used in the resulting output. Unlike other helpers, <tt>select</tt> expects this
58
+
# * <tt>:index</tt> - like the other form helpers, #select can accept an <tt>:index</tt> option to manually set the ID used in the resulting output. Unlike other helpers, #select expects this
59
59
# option to be in the +html_options+ parameter.
60
60
#
61
61
# select("album[]", :genre, %w[ rap rock country ], {}, { index: nil })
0 commit comments