El Martes, 15 de Abril de 2008, Jes Gabriel y Gal escribi
> Another approach is to store it in a hash, but downcase the key before
> storing and retreiving:
>
> irb(main):001:0> h = {"get" => "value_for_get", "post" => "value_for_post"}
> => {"get"=>"value_for_get", "post"=>"value_for_post"}
> irb(main):002:0> method = "gEt"
> => "gEt"
> irb(main):003:0> h[method.downcase]
> => "value_for_get"

Thanks, but the problem is exactly the opposite: I receive a request that can 
contain parameter name in low or uppercase, and I need to process them but 
keeping them untouched to forward the request to other location.

Thanks a lot.

-- 
Iki Baz Castillo