未验证 提交 ea86da84 编写于 作者: R Rafael França 提交者: GitHub

Merge pull request #32131 from bogdanvlviv/fix-new_framework_defaults_6_0

Fix `new_framework_defaults_6_0.rb`
......@@ -610,8 +610,8 @@ def apply_form_for_options!(record, object, options) #:nodoc:
# unnecessary unless you support browsers without JavaScript.
# * <tt>:local</tt> - By default form submits are remote and unobtrusive XHRs.
# Disable remote submits with <tt>local: true</tt>.
# * <tt>:skip_enforcing_utf8</tt> - By default a hidden field named +utf8+
# is output to enforce UTF-8 submits. Set to true to skip the field.
# * <tt>:skip_enforcing_utf8</tt> - If set to true, a hidden input with name
# utf8 is not output.
# * <tt>:builder</tt> - Override the object used to build the form.
# * <tt>:id</tt> - Optional HTML id attribute.
# * <tt>:class</tt> - Optional HTML class attribute.
......
......@@ -7,4 +7,4 @@
# Read the Guide for Upgrading Ruby on Rails for more info on each option.
# Don't force requests from old versions of IE to be UTF-8 encoded
# Rails.application.config.action_controller.default_enforce_utf8 = false
# Rails.application.config.action_view.default_enforce_utf8 = false
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册