code: def _create_attach_record(self, id, timed):
          
          record = super(MorphToMany, self)._create_attach_record(id, timed)
  
          record[self._morph_type] = self._morph_class
  
          return record
docs: Create a new pivot attachement record.