I have a line like this:
"foo=bar&bar=foo&hello=hi"
Does Ruby on Rails provide methods for parsing this as if it were a request, so I get a hash like this:
{ :foo => "bar", :bar => "foo", :hello => "hi" }
Or should I write myself?
EDIT
Please note that the above line is not a real verification from the URL, but rather the line stored in the cookie from Facebook Connect.
query-string ruby-on-rails parsing
user142019 May 05 '10 at 11:38 a.m. 2010-05-05 11:38
source share