Matt Moore allowed one unearned run in 6 2/3 innings and Evan Longoria slugged a two-run homer in a three-run fourth inning as the Rays beat the Dodgers on Wednesday, 3-1, for the franchise's first win at Dodger Stadium.