Clean rice in water nicely. Soak it for 15-20 minutes .Drain that water and pressure cook rice with 2 cups of water. Spread the cooked rice in a plate a and set it aside.
Heat oil in a pan and add mustard seeds and asafoetida.
When mustard seeds crackle, add chana dal, urad dal, red chilli, cashew nuts, peanuts and roast till it becomes slightly brown.
Add green chilies, ginger and curry leaves and sauté for a few seconds.
Lower the flame and add grated coconut and sauté for few seconds.
Add cooked rice and salt and mix it well.
Transfer it into a serving bowl and serve it hot with some chips or papads or any side dish with gravy.