You need to use params[:Jobs][:clearance]
params
is a hash of all the request parameters. But params[:Jobs
] is ALSO a hash of all :Jobs parameters. So calling params[:Jobs][:clearance]
is calling the []
method on the params[:Jobs]
object passing :clearance
in as a parameter.
kmorris511
2009-06-09 16:17:36