Cut the beef into bite-sized pieces.
Finely chop the onion.
Add cooking oil to a pan and sauté the onion.
Add the beef and season with salt and pepper, then stir-fry.
Place the cooked beef and onion over the rice.
Drizzle mayonnaise as desired.
Serve with soy sauce on the side to finish.