Boil the rice until it is cooked, but not too soft. Allow it to completely cool.
Meanwhile, chop the onions and garlic and fry in 1 tablespoon of oil over medium heat. Use a wok, or a nonstick saucepan, that will accommodate all the rice, plus the ability to stir it.
Add the rice when the onions have softened and sprinkle the turmeric over it. Stir carefully and slowly so the rice doesn’t become too broken up.
Add the 2nd tablespoon of oil and stir-fry for five minutes.
Season with salt and pepper, to taste, if desired.
Recipe by Go Dairy Free at https://www.godairyfree.org/recipes/golden-fried-rice