search for: build_area

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

2011 May 17
5
has_many through question
...;</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_path end end def edit @taskschedule = Taskschedule.find(params[:id]) end def update @taskschedule = Taskschedule.find(params[:id]) if @taskschedule.update_a...