Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed routing to allow for testing of *path components #1650 [Nichola…

…s Seckar]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1762 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit b9b6cb95d3c7a6f623c2b328ae2cf8b3e2a05ef1 1 parent 703ac4c
@dhh dhh authored
View
2  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]
View
2  actionpack/lib/action_controller/test_process.rb
@@ -75,7 +75,7 @@ def assign_parameters(controller_path, action, parameters)
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
Please sign in to comment.
Something went wrong with that request. Please try again.