search for: formencodedpairparser

Displaying 1 result from an estimated 1 matches for "formencodedpairparser".

2007 Dec 03
3
Request param type of array
...ld"=>["value1", "value2"], "_submit"=>["OK"]} ================ In Rails source code I have found such code: ---> actionpack-1.13.5/lib/action_controller/cgi_ext/cgi_methods.rb (line 23): def parse_request_parameters(params) parser = FormEncodedPairParser.new params = params.dup until params.empty? for key, value in params if key.blank? params.delete key elsif !key.include?(''['') # much faster to test for the most common case first (GET) # and avoid the cal...