Los Angeles Dodgers shortstop Hanley Ramirez was helped off the field in the top of the sixth inning Friday night against the San Francisco Giants with what the team later called a left hamstring injury.