Cook the rigatoni in salted water according to the instructions.
Cut the onions into fine cubes. Melt the butter in a pan and steam the onion cubes until translucent. Dust with flour. Add the tomatoes and bring to the boil.
Stir the coarsely crumbled cheese into the sauce and let it melt. Add the cream and season with the spices.