From 5a5f85d5bea6578e900d5af51a9a2706689d08aa Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 6 Sep 2006 04:00:37 +0000 Subject: Get symbol definitions of methods converted to strings [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5045 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/lib/action_view/helpers/form_tag_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/lib/action_view') diff --git a/actionpack/lib/action_view/helpers/form_tag_helper.rb b/actionpack/lib/action_view/helpers/form_tag_helper.rb index e023fe93d2..d6b662b24a 100644 --- a/actionpack/lib/action_view/helpers/form_tag_helper.rb +++ b/actionpack/lib/action_view/helpers/form_tag_helper.rb @@ -24,7 +24,7 @@ module ActionView method_tag = "" - case method = html_options.delete("method") + case method = html_options.delete("method").to_s when /^get$/i # must be case-insentive, but can't use downcase as might be nil html_options["method"] = "get" when /^post$/i, nil -- cgit v1.2.3