app/models/pbw/container.rb
def attach_tick_process(process, ticks_to_wait=0)
	        self.attached_processes << AttachedProcess.build(process: process, tickable: true, ticks_waiting: ticks_to_wait)
	        save!
	    end
def attach_tick_process(process, ticks_to_wait=0)
	        self.attached_processes << AttachedProcess.build(process: process, tickable: true, ticks_waiting: ticks_to_wait)
	        save!
	    end
ATTACHED PROCESSES