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 problem is that the first parameter name ... how
what is the right method for this??

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/16fab75337a0ade592bf314292732426%40ruby-forum.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to