Roughly dice onions. Dice garlic. put tomatoes in food processor until just chunky. Saute onions and garlic red pepper flakes saute. In the meantime put up water for pasta until translucent add sausage brown lightly add the wine to deglaze pot pour tomatoes into pot, stir and add salt to taste. In the mean time put up pot of water for pasta when it comes to a boil add salt cook until al dente strain pasta and add to the tomatoe sauce.