Displaying 2 results from an estimated 2 matches for "job_phase_id".
2006 Jan 18
4
That ol'' AJAX select box update again : observe_field does nothing
Hi,
I know this has been asked a million times before - but I still don''t
really get it. CAn someone please tell me what''s up with the following;
In a view I have (apologies for the formatting);
<td>
<select id="job.job_phase_id" name="job[job_phase_id]"><p><label
for="job_job_phase_id">Job Phase</label><br/>
<%= options_from_collection_for_select @jp, "id", "description",
job.job_phase_id %></p>
</select></p>...
2005 Dec 22
3
NewbieQ : undefined method `stringify_keys!'' Dumb Question
...if @job.update_attributes(params[:job]).......
The submitted params are;
Request
Parameters: {"commit"=>"Add Note", "id"=>"1",
"job"=>{"job_state_id"=>"2", "current_action_id"=>"7",
"job_phase_id"=>"2", "job_wait_state_id"=>"4"}, "note"=>"xzczcxvzxcvzxc"}
The error message is;
undefined method `stringify_keys!'' for "xzczcxvzxcvzxc":String
And the trace is ;
d:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2...