Heat oil in a pressure cooker. Add cumin seeds and when cumin seeds splutter put finely chopped onions and fry till golden brown. Add grated ginger and tomato paste and sauté till oil leaves the sides. Add salt, red chilli powder and garam masala. Now add rice and and water and cook till o e whistle. Let the pressure releases automatically.