Heat oil in a saucepan. Saute onions till soft.
Add in the ginger garlic paste and saute till raw smell is gone.
Add in the powders and saute for a couple of minutes.
Add in the tomatoes and cook till the masala is nicely cooked and wilted. Adjust salt. Set aside.
In a saucepan, heat lots of water with the whole masalas and some salt.
Wash the rice well and set aside to drain. Once the water comes to a rolling boil, add the rice.
Keep on high flame till it boils again and then keep on meduim flame. Cook till the rice is 90% done. Drain immediately.
Heat ghee in a frying pan. Fry the cashew nuts and puff up the raisins.
Heat a tawa. In a saucepan, put a layer of rice at the bottom. Spread the masala on top.
Add in the remaining rice. Sprinkle the fried cashewnuts, raisins and the ghee, as well as the chopped coriander leaves.
Close the lid tight and keep on the hot tawa on low flame for 15 minutes.
Switch off and allow to rest for 5 minutes. Toss up well to give a nice mix. Serve hot with any spicy curry.