From b9b6cb95d3c7a6f623c2b328ae2cf8b3e2a05ef1 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Thu, 7 Jul 2005 16:16:36 +0000 Subject: Fixed routing to allow for testing of *path components #1650 [Nicholas Seckar] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1762 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/CHANGELOG | 2 ++ actionpack/lib/action_controller/test_process.rb | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG index ff8a7821dc..27eb7464a5 100644 --- a/actionpack/CHANGELOG +++ b/actionpack/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Fixed routing to allow for testing of *path components #1650 [Nicholas Seckar] + * Added :handle as an option to sortable_element to restrict the drag handle to a given class #1642 [thejohnny] * Added a bunch of script.aculo.us features: Effect.ScrollTo, to smoothly scroll the page to an element, better Firefox flickering handling on SlideUp/SlideDown, Removed a possible memory leak in IE with draggables, Added support for cancelling dragging my hitting ESC #1644 [Thomas Fuchs] diff --git a/actionpack/lib/action_controller/test_process.rb b/actionpack/lib/action_controller/test_process.rb index 71c012c357..8dd2e443ae 100644 --- a/actionpack/lib/action_controller/test_process.rb +++ b/actionpack/lib/action_controller/test_process.rb @@ -75,7 +75,7 @@ module ActionController #:nodoc: if extra_keys.include?(key.to_sym) non_path_parameters[key] = value else - path_parameters[key] = value.to_s + path_parameters[key] = value.is_a?(Fixnum) ? value.to_s : value end end end -- cgit v1.2.3