Sweat the onion with the pine nuts until the onions are translucent and the pine nuts are light brown. Then deglaze with a dash of white wine and then add the ricotta. Gradually add the stock until the sauce has the desired consistency. Season to taste with salt, pepper, chilli and marjoram.
In the meantime, cook the ravioli in salted water. Then add the ravioli with the chopped tomatoes to the sauce and toss in them. Finally fold the rocket into the ravioli and serve with the parmesan.