The teams combined for 36 hits with Atlanta rallying from deficits of six runs early in the game and four runs late in the contest.
Ruiz doubled home a run in the fifth, had a three-run homer in the seventh and added a three-run double in the eighth.
Atlanta tied it with a six-run fifth that featured a grand slam homer from Brian McCann, but the Braves then fell behind 12-8 heading into the bottom of the eighth.
The Braves, however, produced five runs in that inning to go in front. A two-run single by Martin Prado was the key hit of the frame.
Chad Durbin (1-0) got the win by retiring the side in the top of the 11th.
Reindeer recovered after escaping from Santa during lighting ceremony
Newt Gingrich fires back at Mandela backlash