Created
May 9, 2013 02:19
-
-
Save hughdavenport/5545117 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/activesupport/lib/active_support/core_ext/object/to_param.rb b/activesupport/lib/active_support/core_ext/object/to_param.rb | |
index 0d5f350..f25c3d6 100644 | |
--- a/activesupport/lib/active_support/core_ext/object/to_param.rb | |
+++ b/activesupport/lib/active_support/core_ext/object/to_param.rb | |
@@ -53,6 +53,6 @@ class Hash | |
def to_param(namespace = nil) | |
collect do |key, value| | |
value.to_query(namespace ? "#{namespace}[#{key}]" : key) | |
- end.sort * '&' | |
+ end * '&' | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment