Quick Params query

How do I access the value of “pick” in my Rails controller that
receives the following parameters?

Parameters: {“commit”=>“Create”, “picklist”=>{“pick”=>“collection”}}

I’ve tried params[:pick] but this returns nil

Thanks.

params[:picklist][‘pick’]

Lee L. wrote:


View this message in context:
http://www.nabble.com/Quick-Params-query-tf2287408.html#a6353921
Sent from the RubyOnRails Users forum at Nabble.com.