aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view
diff options
context:
space:
mode:
authorSteve St. Martin <kuprishuz@gmail.com>2009-08-07 20:05:02 -0400
committerJosé Valim <jose.valim@gmail.com>2009-08-08 13:56:41 +0200
commita8645593a4446a89b2e699e153adca968340581a (patch)
treea03eee5a759371309312c6c64b0deb1b710574e7 /actionpack/lib/action_view
parent73f2d37505025a446bb5314a090f412d0fceb8ca (diff)
downloadrails-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/action_view')
-rw-r--r--actionpack/lib/action_view/helpers/form_tag_helper.rb2
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.