Updated

St. Petersburg, FL (SportsNetwork.com) - Tim Beckham's two-run double capped a three-run rally in the eighth inning that lifted the Tampa Bay Rays to a 4-2 win over the Toronto Blue Jays on Saturday.

The Rays rallied with two outs in the eighth, tying the score on James Loney's pinch-hit RBI double.

They have won four in a row, including a 12-3 victory in Friday's series opener.

Russell Martin hit a leadoff homer in the seventh inning that gave the Blue Jays a 2-1 lead.

He drove a 3-1 fastball the other way over the right-center field wall for the first run scored by either team since the first inning.

But the Rays took the lead after Roberto Osuna, who replaced Toronto starter Daniel Norris, struck out the first two batters in the bottom of the eighth.

Evan Longoria singled -- the last of his four hits -- to chase Osuna and David DeJesus followed with a hit off Brett Cecil (1-2) to put men on the corners for Loney, who then doubled off Miguel Castro.

Beckham worked a 3-0 count against Castro before driving the fourth pitch off the top of the left-field wall to give the Rays their 4-2 lead. The Rays challenged the call -- they thought it was a home run -- but it stood as a double after a quick replay review.

Ernesto Frieri (1-0) earned the win after striking out the side in the eighth inning and Brad Boxberger threw a 1-2-3 ninth for his fifth save for the Rays.

"The pitchers, they've got a great approach and they execute their pitches," Toronto manager John Gibbons said. "It shuts down an offense pretty good. We never seem to hit a lot here, but you move on. Tomorrow is another day."

Norris went seven innings on his 22nd birthday, striking out seven and giving up one run, five hits and three walks in his second start against the Rays this season.

Erasmo Ramirez pitched four innings for Tampa Bay, allowing a run on four hits and a walk. His only other start this year came in a loss to Toronto on April 15.

"What he did tonight against that lineup was huge for us and huge for the bullpen," said Rays manager Kevin Cash. "It allowed us to line up (our pitchers for) the rest of the game."

Devon Travis hit a one-out double off Ramirez in the first and scored on Josh Donaldson's single, but the Rays tied the score in the bottom of the inning when Steven Souza Jr., who walked, was able to score all the way from first base on Longoria's fluky double.

The hit, a pop-up, dropped fair on the right-field line and went off the glove of the second baseman Travis, who had tried to chase it down.

Game Notes

It was Martin's third homer of the season ... Tampa Bay is 5-1 against Toronto this season ... The game finished in 2 hours and 31 minutes.