diff options
author | Takayuki Matsubara <takayuki.1229@gmail.com> | 2013-07-06 01:01:51 +0900 |
---|---|---|
committer | Takayuki Matsubara <takayuki.1229@gmail.com> | 2013-07-07 23:49:38 +0900 |
commit | 06388b07791a24e9d3351a74bfdf23809bb1e69b (patch) | |
tree | a3252171a03791e8b63f5cb0518a16f19618ce79 /guides/code/getting_started/Gemfile.lock | |
parent | 239126385f75d84e8d62b65879837db0f5ae2f7a (diff) | |
download | rails-06388b07791a24e9d3351a74bfdf23809bb1e69b.tar.gz rails-06388b07791a24e9d3351a74bfdf23809bb1e69b.tar.bz2 rails-06388b07791a24e9d3351a74bfdf23809bb1e69b.zip |
Added an `enforce_utf8` hash option for `form_tag` method
Control to output a hidden input tag with name `utf8` without monkey
patching
Before:
form_tag
# => '<form>..<input name="utf8" type="hidden" value="✓" />..</form>'
After:
form_tag
# => '<form>..<input name="utf8" type="hidden" value="✓" />..</form>'
form_tag({}, { :enforce_utf8 => false })
# => '<form>....</form>'
Diffstat (limited to 'guides/code/getting_started/Gemfile.lock')
0 files changed, 0 insertions, 0 deletions