Cut the beef into bite-sized pieces.
Slice the onion thinly.
Add oil to a pan and sauté the onion.
Add the beef and stir-fry until cooked.
Add soy sauce, sugar, and minced garlic, and stir-fry.
Place the cooked beef on top of the rice.
Drizzle with mayonnaise.