added belongs_to_school? helper
fixed view for schools#edit
fixed some relations between schedules that belongs to schools