Vomiting white foam can also be caused by illnesses of the digestive tract that need further treatment. Illnesses that can cause vomiting include hepatitis, pancreatitis, diabetes, and kidney disease. If the vomiting persists a few days, even with a bland diet, consult your veterinarian.
Bake the squash for 40-45 minutes. Bake it until it's tender. After 35 minutes, start poking it with a fork to check to see how tender it is. Then, remove the squash from the oven.
Boiling (version 1): Cut the squash in half and scoop out the seeds. Place in boiling water for approximately 15 to 20 minutes till tender (less for smaller ones). After cooking, rinse in cold water and dry as much water off it as possible (with paper towels), then scrape out with a fork to get the spaghetti effect.