Evan Longoria said one reason why this year's Rays offense is the best they've had while he has been here is how deep, and "swarming," it is.

"You kind of get it from all angles," he said.

The Rays got it from nearly everyone Tuesday, with all but one starter getting a hit. But it was who got the biggest one, Desmond Jennings, that could mean the most, as his two-out opposite-field RBI single lifted Tampa Bay to a 7-6 walkoff win over the Marlins in front of 13,876 at Tropicana Field.

Jennings, who had been moved from leadoff to seventh in the order due to his recent struggles, got three hits, his last off ex-Rays reliever Chad Qualls, to score Kelly Johnson from second and start a wild onfield celebration.

"I remember (manager) Joe (Maddon) did it last year in the middle of the season," Jennings said. "It always seems to work."

The Rays (27-24) had rallied from an early four-run deficit, then tied it again with one run in the eighth on the second RBI single by shortstop Yunel Escobar. They had a chance for more, with the Marlins walking Ben Zobrist to load the bases with two outs. But with lefty Mike Dunn pitching, Ryan Roberts pinch-hit for Matt Joyce and grounded into an inning-ending fielder's choice.

Right-hander Jeremy Hellickson, coming off arguably his best start of the season, had dug his team a four-run hole against the worst-in-the-majors Marlins. And there were familiar faces that led Miami's attack, from ex-Ray Justin Ruggiano's RBI single in the second to RBI triples by former Rays second-round pick Derek Dietrich and East Lake High product Chris Coghlan in the three-run third.

"Not crispy at all," Maddon said. "Not sharp with anything. He just wasn't as good as he normally is."

But the Rays bounced back, cutting the deficit to one run by the fourth. They would load the bases with no outs in the third on three singles, including a rare infield hit by catcher Jose Lobaton. Joyce knocked in a run with a sacrifice fly then Kelly Johnson — who had two homers and six RBIs Monday — continued his monster May with an RBI double off the centerfield wall. The Rays added one in the fourth as Escobar, who made a great diving stop in the third, ripped an RBI double to left-center.