I have a string like this:
\"foo=bar&bar=foo&hello=hi\"
Does Ruby on Rails provide methods to parse this as if it is a querystring,
If you want a hash you can use
Hash[CGI::parse(x).map{|k,v| [k, v.first]}]