Peel and cut the aubergines into chunks, sprinkle them with salt and soak them with water and salt for an hour, in order to rid them of the bitter taste. Prepare the tomato sauce: fry the sliced onion and the crushed garlic, add the tomatoes reduced in large pieces, add salt and cook for about ten minutes. Puree the tomatoes with the classic vegetable mill, season with oil and salt, add a few basil leaves and simmer for a few minutes.
I abundant seed oil, fry the aubergines, well washed and drained, and let the frying oil drain well.
At this point, cook the pasta al dente and flavor it with the tomato sauce and fried aubergines. Sprinkle the dishes with grated ricotta salata and finish with a few leaves of fresh basil.