diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2006-09-06 04:00:37 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2006-09-06 04:00:37 +0000 |
commit | 5a5f85d5bea6578e900d5af51a9a2706689d08aa (patch) | |
tree | bc1404b87022a39aa3e54a89d02eafa172e4d5b8 /actionpack/lib | |
parent | 5360e4743158c2a0eb91d73f1bcc954c2cb7f5e7 (diff) | |
download | rails-5a5f85d5bea6578e900d5af51a9a2706689d08aa.tar.gz rails-5a5f85d5bea6578e900d5af51a9a2706689d08aa.tar.bz2 rails-5a5f85d5bea6578e900d5af51a9a2706689d08aa.zip |
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
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 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 |