parse

parse(query)
Class Public methods

Parse an HTTP query string into a hash of key=>value pairs.

params = CGI::parse("query_string")
  # {"name1" => ["value1", "value2", ...],
  #  "name2" => ["value1", "value2", ...], ... }
doc_ruby_on_rails
2015-04-01 03:23:20
Comments
Leave a Comment

Please login to continue.