Another tip... If a ripening tomato gets a crack, I know it will just spoil if I leave it outside. And if I put it on the counter, fruit flies will find it, and it will spoil. So I pick it and bring it inside, but before I put it on the counter I put masking tape over any cracks in the skin... fruit flies can't get to it, and it ripens just fine!