search for: talenttyp

Displaying 1 result from an estimated 1 matches for "talenttyp".

Did you mean: talenttype
2006 Oct 16
3
Saving many_to_many
Ahoy, i''m trying to save a many to many between "talent" and "vital stat" talent_controller.rb def edit @talent = Talent.find(params[:id], :include => [:talent_type, :vital_stats]) @talent_types = TalentType.find_all @vital_stats = VitalStat.find_all if request.post? @talent.attributes = params[:talent] @talent.attributes = params[:talent_type] if @talent.update_attributes(params[:vital_stat][:id]) flash[:notice] = ''Talent was successfully updated.''...