File: //usr/local/rvm/gems/ruby-3.0.2/doc/activesupport-6.1.4.1/ri/Hash/to_query-i.ri
U:RDoc::AnyMethod[iI"
to_query:ETI"Hash#to_query;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"OReturns a string representation of the receiver suitable for use as a URL ;TI"query string:;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"5{name: 'David', nationality: 'Danish'}.to_query
;TI"*# => "name=David&nationality=Danish"
;T:@format0o;
; [I">An optional namespace can be passed to enclose key names:;T@o;; [I"={name: 'David', nationality: 'Danish'}.to_query('user')
;TI"># => "user%5Bname%5D=David&user%5Bnationality%5D=Danish"
;T;
0o;
; [I"@The string pairs "key=value" that conform the query string ;TI"5are sorted lexicographically in ascending order.;T@o;
; [I"/This method is also aliased as +to_param+.;T:
@fileI"3lib/active_support/core_ext/object/to_query.rb;T:0@omit_headings_from_table_of_contents_below000[[I"
to_param;To;; [ ;@";0I"(namespace = nil);T@"FI" Hash;TcRDoc::NormalClass00