Pass it only the string after the `?`
--
Dheeraj Kumar
On Thursday 8 August 2013 at 10:59 PM, Renato Co wrote:
> I have a string which contain some parameters I want to extract but I
> cant get it to look good. Here is what I have right now
>
>
> puts
> Rack::Utils.parse_query("http://www.as
I have a string which contain some parameters I want to extract but I
cant get it to look good. Here is what I have right now
puts
Rack::Utils.parse_query("http://www.aspnetpage.com/frmindex?id=5&shelf=111";)
{"http://www.aspnetpage.com/frmindex?id"=>"5", "shelf"=>"111"}
As you can see my main p
2 matches
Mail list logo