Wash the rice well and soak it for 15 mins.
Chop onions into fine pieces.
In a pan, add half the ghee and oil. Once its hot, fry the onions and the masalas until the onions are golden brown, ensure it does not burn.
Remove half the onions and set aside for garnish.
Take the pan in which rice is going to be cooked. Heat ghee, turmeric, drained rice. Fry for 2 mins.
Add water and salt to taste. Bring to the boil. Cover with lid and Cook for 20 - 25 mins.
For seasoning, heat the remaining ghee in a small pan and fry the nuts until golden. Fry the curry leaves, green chilies and mustard seeds until the seeds pop.
Once the rice is cooked, remove it to a serving bowl, pour the seasoned stuff over the rice.
Garnish the rice with the fried cashews, chopped coriander leaves and grated fresh coconut.