In a large skillet, heat the olive oil and then add the onion. Cook until golden and then add the meat. When the meat is almost brown, add the red wine and cook for a minute until evaporated. Add the tomatoes, salt and pepper and cook for 20 minutes until reduced. Add the peas and cook for a few more minutes.
Meanwhile, preheat the oven to 350 and bring a large pot of salted water to boil for the pasta. Cook the pasta for half of the package’s recommended duration and drain. Add the pasta to the sauce and mix in the ricotta.
Move the pasta mixture to a baking dish. Sprinkle with Parmigiano and place in the oven. Bake for about 20 minutes until browned. Let sit for 5 minutes and serve.