From 3efb10f8fb6e143cd4a5970167e6c4b475644bb9 Mon Sep 17 00:00:00 2001 From: bogdanvlviv Date: Tue, 27 Feb 2018 23:06:21 +0200 Subject: Fix `new_framework_defaults_6_0.rb` `default_enforce_utf8` belongs to `config.action_view` Update info about `:skip_enforcing_utf8` since we can change default behavior via `config.action_controller.default_enforce_utf8` Related to #32125 --- actionview/lib/action_view/helpers/form_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actionview') diff --git a/actionview/lib/action_view/helpers/form_helper.rb b/actionview/lib/action_view/helpers/form_helper.rb index 6fd66066c6..afd49286e6 100644 --- a/actionview/lib/action_view/helpers/form_helper.rb +++ b/actionview/lib/action_view/helpers/form_helper.rb @@ -610,8 +610,8 @@ module ActionView # unnecessary unless you support browsers without JavaScript. # * :local - By default form submits are remote and unobtrusive XHRs. # Disable remote submits with local: true. - # * :skip_enforcing_utf8 - By default a hidden field named +utf8+ - # is output to enforce UTF-8 submits. Set to true to skip the field. + # * :skip_enforcing_utf8 - If set to true, a hidden input with name + # utf8 is not output. # * :builder - Override the object used to build the form. # * :id - Optional HTML id attribute. # * :class - Optional HTML class attribute. -- cgit v1.2.3