Boil the rigatoni pasta in boiling water.
While boiling, chop onion and garlic.
Heat olive oil in a pan and sauté the garlic and onion.
Add chopped tomatoes, salt, and pepper to make the sauce.
Add the cooked pasta to the pan and stir-fry with the sauce.
Finish with grated Parmesan cheese on top.