newbie alert! Need help in extracting parameters from the post request

Could somebody please help me with the following? I have following browser dump from the post request which errors in my controller Parameters: {"commit"=>"Find", "item"=>{"id"=>"1"}}

I want to extract parameter item[id] from this request. I have tried params[:item].id, params[:id] and params[:item[id]].

None of the above seems to help.

thanks

params[:item][:id]

params[:item] returns a hash, which you then index by :id.

params[:item][:id]

one more try and you likely would have got it

Jodi

thanks jodi and brad. Really appreciate your responses.