search for: personnel_typ

Displaying 3 results from an estimated 3 matches for "personnel_typ".

Did you mean: personnel_type
2006 May 18
1
ActiveRecord problems from within template
...ion_personnel, :class_name => "Credit", :include => :credit_type, :order => ''credit_types.position, credits.position ASC'', :group => ''credit_types.personnel_type'', :conditions => ''credit_types.personnel_type="live_action_personnel"'' If I try and test this for emptiness: if @film.live_action_personnel.size > 0 I get the following error: MysqlError: Unknown table ''credit_types...
2006 May 18
1
repeating has_many calls on the same model
...ion_personnel, :class_name => "Credit", :include => :credit_type, :order => ''credit_types.position, credits.position ASC'', :group => ''credit_types.personnel_type'', :conditions => ''credit_types.personnel_type="live_action_personnel"'' has_many :production_personnel, :class_name => "Credit", :include => :credi...
2006 May 20
1
RJS returned javascript written straight to page
..."script", :partial => ''films/form/personnel'', :locals => { :type => @params[:type].gsub(/_/, ""), :available_types => @credit_types.select { |ct| ct.personnel_type == @params[:type] }, :personnel => p } page.visual_effect :highlight, @params[:type].gsub(/_/, ""), end end whenever I use this, the generated javascript just gets pasted right in like this. over th...