aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template/active_record_helper_test.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-03-06 11:50:41 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-03-06 11:50:41 +0000
commitdfac1cea3d851000116a23ab14c2b1ae981f7a12 (patch)
tree91abe3727d19f4c13affe1a2e4bc4637b35d5fdf /actionpack/test/template/active_record_helper_test.rb
parentdb41d2dd5c738ca44a07330cf02e9d817fedc34c (diff)
downloadrails-dfac1cea3d851000116a23ab14c2b1ae981f7a12.tar.gz
rails-dfac1cea3d851000116a23ab14c2b1ae981f7a12.tar.bz2
rails-dfac1cea3d851000116a23ab14c2b1ae981f7a12.zip
Fixed that form helpers would treat string and symbol keys differently in html_options (and possibly create duplicate entries) #112 [bitsweat]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@833 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test/template/active_record_helper_test.rb')
-rw-r--r--actionpack/test/template/active_record_helper_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/template/active_record_helper_test.rb b/actionpack/test/template/active_record_helper_test.rb
index e650b4f0b8..67001082b8 100644
--- a/actionpack/test/template/active_record_helper_test.rb
+++ b/actionpack/test/template/active_record_helper_test.rb
@@ -48,7 +48,7 @@ class ActiveRecordHelperTest < Test::Unit::TestCase
@controller = Class.new do
def url_for(options, *parameters_for_method_reference)
- options[:action]
+ options[:action] || options["action"]
end
end
@controller = @controller.new