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 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.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs