Grind the ingredients under "for grinding" and set aside.
In a large saucepan, heat the ghee and oil. Add in the whole spices and fry briefly.
Add the onion and cook till wilted.
Add the ground paste and saute till raw smell is gone.
Add in the drained rice and toast for five minutes till crisp.
Add in the remaining ingredients, keep on high flame till the water comes to a rolling boil.
Keep the flame at the lowest and cook on closed lid for around 10-15 minutes till the water is totally absorbed and the rice is cooked.
Serve with a side of raita and pickle.