Such a strange way to do something, but here is something that can help.
Suppose you have a route like this:
map.connect ':controller/:action/:id'
Then / people / edit / 1? gender = male will go to the editing action on the people controller, and params [: id] will be 1, and params [: gender] will be "male".
, , , , . , , RESTful, , , , .
, q . /people/q/hello /people/search/hello.
:
map.connect ':controller/:action'
/people/index? q = hello /people/index? search = hello if params [].
: ( ), .