While the offense was busting out, left-hander Christian Friedrich turned in his best performance as a Padre. He stymied the D-backs over seven scoreless frames, allowing just three hits and a walk.
Ray, meanwhile, was hit hard for five runs on nine hits in 4 2/3. Third baseman Brandon Drury got the D-backs on the board in the eighth with a two-run shot into the left-field seats, his eighth of the season, and Jake Lamb added a solo blast in the ninth.
MOMENTS THAT MATTERED
Double solar power: With home runs from both sides of the plate, Solarte joined a select group of San Diego switch-hitters to go deep from both boxes in the same game.