From: Matthew Rudy Jacobs Date: 2008-05-14T22:00:15+09:00 Subject: Re: how to do the equivalent of PHP's "$_GET" in Ruby? John Zorko wrote: > Hello, all ... > > I'm new to Ruby, but so far, I like it quite a lot. I've a question, > though ... I need to do the Ruby equivalent of PHPs "$_GET" ... how do > I do this? > > Regards, > > John > > Falling You - exploring the beauty of voice and sound > http://www.fallingyou.com is this a Rails question? in Rails, the "params" method called inside your controller grabs all of the http params, GET or POST. eg. GET /controller/action/1?question_id=forsure > params -> {"id" => "1", "question_id" => "forsure"} -- Posted via http://www.ruby-forum.com/.