diff options
author | claudiob <claudiob@gmail.com> | 2014-09-26 20:11:39 -0700 |
---|---|---|
committer | claudiob <claudiob@gmail.com> | 2014-11-20 12:46:30 -0800 |
commit | b0cc858dd71576011c6f2a3995457c070d8b55d5 (patch) | |
tree | 890ffd92d4c7b1d164950e22cb9469097ccaffbd /activerecord/test/models | |
parent | b0f44c9ff0be84ebc42760029adeeb9dd954655f (diff) | |
download | rails-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 'activerecord/test/models')
0 files changed, 0 insertions, 0 deletions