Prepare the mushroom filling by sauteing the mushrooms, garlic, salt and pepper in butter until softened.
Mix the ricotta, Parmesan cheese with the mushroom filling.
Roll out the pasta dough and cut into circles. Place a spoonful of filling in the center of each circle, fold over to form a half-moon shape, and seal the edges.
Cook the ravioli in boiling salted water until they float to the surface.