Preheat oven to 375°F (190°C).
- Cook rigatoni in salted boiling water until just under al dente. Drain and set aside.
- In a large skillet, heat olive oil over medium heat. Add onion and sauté until soft.
- Add garlic and cook for 1 more minute.
- Add ground beef or sausage and cook until browned. Drain excess fat.
- Stir in marinara sauce, crushed tomatoes (if using), and Italian seasoning. Simmer for 10 minutes.
- In a large bowl, mix the cooked pasta, meat sauce, ricotta cheese, and half of the mozzarella cheese.
- Transfer the mixture to a greased baking dish. Top with remaining mozzarella and Parmesan cheese.
- Cover with foil and bake for 20 minutes. Remove foil and bake an additional 10–15 minutes until golden and bubbly.
- Let rest for 5–10 minutes before serving. Garnish with fresh basil or parsley if desired.