hasMany relation destroy method fixed

Hi, the destroy method for hasMany relation is completely broken, i tried to fix it.