In medium saucepan, heat oil over medium heat. Add in garlic and onion. Saute 1-2 minutes until softened.
Add in dry rice. While stirring, cook for about 5 minutes until rice is golden brown.
Slowly add in broth and tomato sauce into rice, not directly onto hot pan. Stir; bring to boil.
Turn heat to low and cover. Let simmer for 20 minutes.
Fluff with fork.
source: https://www.food.com/recipe/spanish-rice-using-tomato-sauce-182403