add  dependent: :destroy to product model