From dc5336e7f4f7128fc102ab17b63bed46d1b0db3e Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Tue, 28 Sep 2010 00:36:53 +0200 Subject: revises RDoc of Hash#to_param to be more precise about ordering --- activesupport/lib/active_support/core_ext/object/to_param.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 3a18e2a121..ecb2bca82c 100644 --- a/activesupport/lib/active_support/core_ext/object/to_param.rb +++ b/activesupport/lib/active_support/core_ext/object/to_param.rb @@ -35,8 +35,8 @@ end class Hash # Converts a hash into a string suitable for use as a URL query string. An optional namespace can be - # passed to enclose the param names (see example below). The keys in the query string are sorted lexicographically - # in ascending order. + # passed to enclose the param names (see example below). The string pairs "key=value" that conform the query + # string are sorted lexicographically in ascending order. # # ==== Examples # { :name => 'David', :nationality => 'Danish' }.to_param # => "name=David&nationality=Danish" -- cgit v1.2.3