hmmm... I am little lost... I have the following form:
<form name="form_options" id="form_options"> <span class="selecter">Job Type<br/><%= select ("JobType", "id", JobType.find(:all, :order => "priority").collect {|jt| ["#{jt.name}", jt.id] }) %></span> <span class="selecter">Job Status<br/><%= select ("JobStatus", "id", JobStatus.find(:all, :order => "priority").collect {|js| ["#{js.name}", js.id] }) %></span> </form> <%= observe_form :form_options, :url => {:action => "save_job_type_and_status"} %>
In my controller I want to get at the JobType and JobStatus ids. For some odd reason trying all the usual suspects does not work. Any sugestions?
params[:JobType][:id]?
Please help