How to extract URL parameters from a URL with Ruby or Rails?
- by Flackou
Hi,
I have some URLs, like http://www.example.com/something?param1=value1¶m2=value2¶m3=value3, and I would like to extract the parameters from these URLs and get them in a Hash. Obviously, I could use regular expressions, but I was just wondering if there was easier ways to do that with Ruby or Rails. I haven't found anything in…