Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix module name [ci skip] #28765

Merged
merged 1 commit into from Apr 15, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
20 changes: 10 additions & 10 deletions actionview/lib/action_view/helpers/form_helper.rb
Expand Up @@ -201,9 +201,9 @@ module FormHelper
# <%= f.submit %>
# <% end %>
#
# This also works for the methods in FormOptionHelper and DateHelper that
# This also works for the methods in FormOptionsHelper and DateHelper that
# are designed to work with an object as base, like
# FormOptionHelper#collection_select and DateHelper#datetime_select.
# FormOptionsHelper#collection_select and DateHelper#datetime_select.
#
# === #form_for with a model object
#
Expand Down Expand Up @@ -632,9 +632,9 @@ def apply_form_for_options!(record, object, options) #:nodoc:
# <%= form.submit %>
# <% end %>
#
# Same goes for the methods in FormOptionHelper and DateHelper designed
# Same goes for the methods in FormOptionsHelper and DateHelper designed
# to work with an object as a base, like
# FormOptionHelper#collection_select and DateHelper#datetime_select.
# FormOptionsHelper#collection_select and DateHelper#datetime_select.
#
# === Setting the method
#
Expand Down Expand Up @@ -791,9 +791,9 @@ def form_with(model: nil, scope: nil, url: nil, format: nil, **options)
# _class_ of the model object, e.g. if <tt>@person.permission</tt>, is
# of class +Permission+, the field will still be named <tt>permission[admin]</tt>.
#
# Note: This also works for the methods in FormOptionHelper and
# Note: This also works for the methods in FormOptionsHelper and
# DateHelper that are designed to work with an object as base, like
# FormOptionHelper#collection_select and DateHelper#datetime_select.
# FormOptionsHelper#collection_select and DateHelper#datetime_select.
#
# === Nested Attributes Examples
#
Expand Down Expand Up @@ -1033,9 +1033,9 @@ def fields_for(record_name, record_object = nil, options = {}, &block)
# <%= check_box_tag "comment[all_caps]", "1", @comment.commenter.hulk_mode? %>
# <% end %>
#
# Same goes for the methods in FormOptionHelper and DateHelper designed
# Same goes for the methods in FormOptionsHelper and DateHelper designed
# to work with an object as a base, like
# FormOptionHelper#collection_select and DateHelper#datetime_select.
# FormOptionsHelper#collection_select and DateHelper#datetime_select.
def fields(scope = nil, model: nil, **options, &block)
options[:allow_method_names_outside_object] = true
options[:skip_default_ids] = true
Expand Down Expand Up @@ -1724,9 +1724,9 @@ def #{selector}(method, options = {}) # def text_field(method, options = {})
# _class_ of the model object, e.g. if <tt>@person.permission</tt>, is
# of class +Permission+, the field will still be named <tt>permission[admin]</tt>.
#
# Note: This also works for the methods in FormOptionHelper and
# Note: This also works for the methods in FormOptionsHelper and
# DateHelper that are designed to work with an object as base, like
# FormOptionHelper#collection_select and DateHelper#datetime_select.
# FormOptionsHelper#collection_select and DateHelper#datetime_select.
#
# === Nested Attributes Examples
#
Expand Down