"He just couldn't stop the bleeding that one inning," D-backs manager Chip Hale said. "Other than that I thought he pitched pretty well, gave us a chance to win. You know, in this ballpark you think you can score four runs."
Ray gave up a trio of runs in the third inning on an RBI double to Kike Hernandez and a two-run double by Justin Turner, which gave the Dodgers an early 4-0 lead.
But Ray made it through that inning, lasting six frames despite giving up four runs on a season-high seven hits.
"That's what it is the whole time, you're just trying to keep your team in it and let the team get a chance for a win," Ray said. "I just left some pitches up and they took advantage of it."
Ray has suffered from a lack of run support in many of his outings this season. It was the fifth time in his seven starts that the offense scored less than four runs for the left-hander.
Although his 2-4 record may not indicate it, Ray continues to pitch well enough to keep his team in games -- his stated goal. He has lasted at least six innings in five outings, and Wednesday's loss was the first time he had allowed four earned runs in a start.
"I was able to throw my fastball to both sides of the plate today, just hung a few off-speed pitches, and they took advantage of it," Ray said. "They definitely earned it."
The D-backs scored a run in the eighth on a sacrifice fly by Aaron Hill, who had previously homered, and they cut the Dodgers' lead to 4-3 in the ninth on a one-out David Peralta solo shot.