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.
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 Longmore wrote: