Bring a large pot of generously salted water to a boil and drop the pasta in.
Put a large sauté pan over a medium flame and heat the oil. Add the onion and cook until translucent, about 5 minutes.
Add the zucchini flowers to the pan and the salt, cook until they just begin to wilt, about 1-2 minutes.
Add the ricotta to the pan and stir with a wooden spoon until the zucchini flowers are well distributed and the ricotta just begins to bubble.
Add the al dente pasta to the pan and toss until all the pasta is well coated in ricotta. Serve immediately.