BALTIMORE -- Thrust into the unwanted position of playing out the final weeks of a losing season, the Tampa Bay Rays have found a way to make the situation more tolerable.Evan Longoria homered and drove in five runs, and the last-place Rays again played spoiler in a 7-6 victory over the Baltimore Orioles on Thursday night.The loss dropped the Orioles two games behind AL East-leading Boston. They fell into a tie with Toronto for the two AL wild cards when the Blue Jays beat the Los Angeles Angels later Thursday.That win by Toronto mathematically eliminated Tampa Bay from playoff contention, but the Rays have won three straight -- including the last two of a three-game series in Toronto. They also defeated the wild card-contending Yankees on Sunday.Its fun that we are playing competitive baseball, Longoria said. Its one thing to go out in a great environment against a team that is a playoff contender, but to be in the game and winning games is the best thing about it.The Rays arent embracing the role of spoiler. Theyre just trying to go out on a high note, and if it hurts their opponent, well so be it.Were playing well and this is great learning experience for all of us in these environments, manager Kevin Cash said.Longoria said: I dont think were coming to the ballpark every day thinking we want to spoil this team or that teams chances of getting to the playoffs.Alex Colome worked the ninth for his 33rd save. After the Orioles got runners at first and third with one out, the right-hander struck out major league home run leader Mark Trumbo and slugger Chris Davis.Baltimore went 3 for 15 with runners in scoring position.Although the temperature was a comfortable 72 degrees and the Orioles are in the midst of a playoff push, the game attracted an announced crowd of only 19,233.Longoria put the Rays up 3-0 before Yovani Gallardo (5-8) got an out. Baltimore answered in the bottom half with a two-run single by Matt Wieters and a two-run double by J.J. Hardy.Tampa Bay pulled even in the second, went ahead in the third and used Longorias two-run single to make it 7-4 in the fourth.When Orioles manager Buck Showalter emerged from the dugout to pull Gallardo in the fourth, many of the hometown fans