diff options
author | Steve St. Martin <kuprishuz@gmail.com> | 2009-08-07 20:05:02 -0400 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2009-08-08 13:56:41 +0200 |
commit | a8645593a4446a89b2e699e153adca968340581a (patch) | |
tree | a03eee5a759371309312c6c64b0deb1b710574e7 /actionpack/lib | |
parent | 73f2d37505025a446bb5314a090f412d0fceb8ca (diff) | |
download | rails-a8645593a4446a89b2e699e153adca968340581a.tar.gz rails-a8645593a4446a89b2e699e153adca968340581a.tar.bz2 rails-a8645593a4446a89b2e699e153adca968340581a.zip |
remove duplicate call to stringify_keys [#2587 status:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_view/helpers/form_tag_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/form_tag_helper.rb b/actionpack/lib/action_view/helpers/form_tag_helper.rb index e126b35e90..1abe7775e0 100644 --- a/actionpack/lib/action_view/helpers/form_tag_helper.rb +++ b/actionpack/lib/action_view/helpers/form_tag_helper.rb @@ -263,7 +263,7 @@ module ActionView escape = options.key?("escape") ? options.delete("escape") : true content = html_escape(content) if escape - content_tag :textarea, content, { "name" => name, "id" => sanitize_to_id(name) }.update(options.stringify_keys) + content_tag :textarea, content, { "name" => name, "id" => sanitize_to_id(name) }.update(options) end # Creates a check box form input tag. |