Rinse the rice until water runs clear and soak it for 30 minutes.
Drain the rice. Heat 1 tablespoons ghee in a large kadai, add the rice and lightly toast them for 5 – 7 minutes. Keep aside.
Soak tamarind in ¼ cup water for 30 minutes, squeeze to extract the pulp and discard the remains.
To prepare the ivy gourds for stuffing, wash and wipe them dry. Trim the top and bottom of the gourds and slit them lengthwise but not all the way, take care not to split from the bottom.
To prepare the stuffing masala, lightly roast the coriander and cumin seeds, curry leaves and red chillis. Mix them with rest of the ingredients listed under the masala paste section and prepare the stuffing masala by grinding the ingredients listed under the masala paste section
Divide the ground masala paste in two, mix in tamarind extract to one part and stuff the prepared gourds with that masala.
Heat a tablespoon of ghee in a kadai, add the stuffed ivy gourds, cover and cook them till knife tender.
In a heavy bottom kadai, heat 2 tablespoons ghee, add the chopped onions and saute till pale pink in colour.
Add the toasted rice, 3 cups of warm water, salt and the remaining masala. Cover and cook till the water is absorbed.
When the rice is almost done, spread the cooked gourds over it and gently combine them with the rice.
Just before serving add the finely chopped coriander.
Serve hot with kadhi.