aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/CHANGELOG.md
diff options
context:
space:
mode:
authorclaudiob <claudiob@gmail.com>2014-09-26 20:11:39 -0700
committerclaudiob <claudiob@gmail.com>2014-11-20 12:46:30 -0800
commitb0cc858dd71576011c6f2a3995457c070d8b55d5 (patch)
tree890ffd92d4c7b1d164950e22cb9469097ccaffbd /actionview/CHANGELOG.md
parentb0f44c9ff0be84ebc42760029adeeb9dd954655f (diff)
downloadrails-b0cc858dd71576011c6f2a3995457c070d8b55d5.tar.gz
rails-b0cc858dd71576011c6f2a3995457c070d8b55d5.tar.bz2
rails-b0cc858dd71576011c6f2a3995457c070d8b55d5.zip
Add `:enforce_utf8` option to form_for
Since 06388b0 `form_tag` accepts the option `enforce_utf8` which, when set to false, prevents the hidden "UTF8 enforcer" field from appearing in the output. This commit implements the same behavior for `form_for`. Stems from https://github.com/rails/rails/pull/17685#issuecomment-63871395
Diffstat (limited to 'actionview/CHANGELOG.md')
-rw-r--r--actionview/CHANGELOG.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/actionview/CHANGELOG.md b/actionview/CHANGELOG.md
index d7875def51..6b7adbe4a3 100644
--- a/actionview/CHANGELOG.md
+++ b/actionview/CHANGELOG.md
@@ -1,3 +1,10 @@
+* Add support for `:enforce_utf8` option in `form_for`.
+
+ This is the same option that was added in 06388b0 to `form_tag` and allows
+ users to skip the insertion of the UTF8 enforcer tag in a form.
+
+ * claudiob *
+
* Fix a bug that <%= foo(){ %> and <%= foo()do %> in view templates were not regarded
as Ruby block calls.