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. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
params[:picklist][''pick''] Lee Longmore wrote:> > > 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. > > > > > >-- View this message in context: http://www.nabble.com/Quick-Params-query-tf2287408.html#a6353921 Sent from the RubyOnRails Users forum at Nabble.com. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---