Converting Hash to and from URL params

Marnen Laibow-Koser wrote in post #871670:

Alex Wayne wrote:

I'm sure this is easy since rails does this internally, but I need to
convert a string of url formatted variables
"foo=bar&baz=snoo&why=because" to a hash, and I need to convert a hash
to url format.

Now before I roll my own methods to do this, does rails expose this
functionality somehow?

Hold it. Why are you doing this in the first place? If it's part of
request processing or URL generation, Rails will already do it for you.
I'm not sure why you'd need this directly; please explain.

Best,
--Ă‚
Marnen Laibow-Koser
http://www.marnen.org
marnen@marnen.org

I want to link to '/auth/facebook' with parameters but that path is
handled by the omniauth gem and doesn't appear in my routes file.