diff options
author | Xavier Noria <fxn@hashref.com> | 2010-09-28 00:36:53 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-09-28 00:36:53 +0200 |
commit | dc5336e7f4f7128fc102ab17b63bed46d1b0db3e (patch) | |
tree | 3d9ffd2f54fdc28a49a2febafb925daaf5e296fc /activesupport/lib/active_support | |
parent | 10dec0e65e1f4d87f411b4361045eba86b121be9 (diff) | |
download | rails-dc5336e7f4f7128fc102ab17b63bed46d1b0db3e.tar.gz rails-dc5336e7f4f7128fc102ab17b63bed46d1b0db3e.tar.bz2 rails-dc5336e7f4f7128fc102ab17b63bed46d1b0db3e.zip |
revises RDoc of Hash#to_param to be more precise about ordering
Diffstat (limited to 'activesupport/lib/active_support')
-rw-r--r-- | activesupport/lib/active_support/core_ext/object/to_param.rb | 4 |
1 files 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 <tt>namespace</tt> 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" |