Los Angeles Dodgers shortstop Hanley Ramirez underwent surgery to repair a torn ligament in his right thumb and is expected to miss about eight weeks.