Displaying 1 result from an estimated 1 matches for "contract5_schedul".
Did you mean:
contract1_schedule
2007 Sep 06
2
HABTM Loops
...> "week = ''#{@woy}''")
@contract3_schedules = Hour.find(3).schedules.find(:all, :conditions
=> "week = ''#{@woy}''")
@contract4_schedules = Hour.find(4).schedules.find(:all, :conditions
=> "week = ''#{@woy}''")
@contract5_schedules = Hour.find(5).schedules.find(:all, :conditions
=> "week = ''#{@woy}''")
etc...
@contract168_schedules =
Hour.find(168).schedules.find(:all, :conditions => "week = ''#{@woy}''")
@woy is a calculated value for next week and is compared to...