search for: taskschedulescontrol

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

2011 May 17
5
has_many through question
...;%= check_box_tag :service_ids, service.id, @taskschedule.services.include?(service), :name => ''taskschedule[service_ids][]'' -%> <%= service.name %></p> <% end %> <%= submit_tag "Submit" %> <% end -%> Taskschedule Controller class TaskschedulesController < ApplicationController def index @taskschedules = Taskschedule.find(:all) end def new @taskschedule = Taskschedule.new @taskschedule.build.build_area end def create @taskschedule = Taskschedule.new(params[:taskschedule]) if @taskschedule.save redirect_to taskschedules_pat...