Nick Fortes hit a tiebreaking two-out double off Trevor Megill in the ninth inning as the Tampa Bay Rays edged the Milwaukee Brewers 3-2 on Monday night.