Heat a pan with oil and when its warm add the asafoetida, chana dal, tamarind and red chillies.
Add grated coconut and ridge gourd pieces, curry leaves in the same pan and sauté till the ridge gourd pieces are soft and cooked. Add salt and saute for a minute. Allow it to cool down completely.
Add this mix in your food processor and grind it to make a coarse paste. Use minimum water.
Transfer content in a bowl and serve.