get the params from the querystring
Posted
by Small Wolf
on Stack Overflow
See other posts from Stack Overflow
or by Small Wolf
Published on 2010-05-31T03:48:27Z
Indexed on
2010/05/31
3:52 UTC
Read the original article
Hit count: 298
In Rails, I have a question on how to get the multiple params ! for example: the string in log like this
Processing ConfigurationsController#emergency_config (for 192.168.1.124 at 2010-05-31 11:45:53) [POST]
Parameters: {"authenticity_token"=>"I3GPKyrjmDRLkMIxFVS/47mgEI4ETO/+YW+R8R5Q2GM=", "tid"=>"1", "emergency"=>{"department"=>["1", "2", "3", "4", "5", "6", "7", "8"]}}
so,how can i get the department values from it? who can tell me the answer? thank you!
© Stack Overflow or respective owner