aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorWaynn Lue <WLGades@gmail.com>2011-07-29 17:07:27 -0700
committerWaynn Lue <WLGades@gmail.com>2011-07-29 17:07:27 -0700
commit1f270e80e61570faafc7cc01c1ed19c1c5359ef3 (patch)
treeeca17065ca29e7d5a580b9a36892f02ff3d18256 /actionpack/lib
parentae1e70cf803390edadf5263a1550c76dbcb3ca46 (diff)
downloadrails-1f270e80e61570faafc7cc01c1ed19c1c5359ef3.tar.gz
rails-1f270e80e61570faafc7cc01c1ed19c1c5359ef3.tar.bz2
rails-1f270e80e61570faafc7cc01c1ed19c1c5359ef3.zip
remove redundant calls to stringify_keys
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/action_view/helpers/form_tag_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_view/helpers/form_tag_helper.rb b/actionpack/lib/action_view/helpers/form_tag_helper.rb
index 822686b09d..79f07400b2 100644
--- a/actionpack/lib/action_view/helpers/form_tag_helper.rb
+++ b/actionpack/lib/action_view/helpers/form_tag_helper.rb
@@ -417,7 +417,7 @@ module ActionView
options["data-confirm"] = confirm
end
- tag :input, { "type" => "submit", "name" => "commit", "value" => value }.update(options.stringify_keys)
+ tag :input, { "type" => "submit", "name" => "commit", "value" => value }.update(options)
end
# Creates a button element that defines a <tt>submit</tt> button,
@@ -503,7 +503,7 @@ module ActionView
options["data-confirm"] = confirm
end
- tag :input, { "type" => "image", "src" => path_to_image(source) }.update(options.stringify_keys)
+ tag :input, { "type" => "image", "src" => path_to_image(source) }.update(options)
end
# Creates a field set for grouping HTML form elements.