When Hanley Ramirez steps to the plate, the cheers don't measure up to the crowd's eruption for now-famous teammate Yasiel Puig.

But lately none of the Dodgers, not even the 22-year-old Cuban right fielder, have been receiving ovations as they leave the plate the likes of those for Ramirez.

The Dodgers shortstop went 3 for 4 Saturday night with a three-run home run and a double, and scored the game-winning run on A.J. Ellis' ninth-inning, walk-off single in L.A.'s 4-3 win over the Philadelphia Phillies in front of 52,455 at Dodger Stadium.

In fact, Puig may have suffered one of his worst nights as a Dodger, committing a crucial ninth-inning error that led to the Phillies erasing a one-run lead. Ellis, however, cleaned up the mess with a one-out single through the right side to give the Dodgers their seventh win in the last eight games and pull them within five games of the first-place Arizona Diamondbacks in the National League West.

"Hanley practically won the game for us single-handedly," Ellis said. "I just had a small part at the end."

Puig, who mistakenly kicked Ben Revere's sixth-inning base hit into the right field stands for a ground-rule double, was scored with an actual error in the ninth when Michael Young's leadoff single rolled under his glove, allowing the tying run to second base. Young advanced to third on an ensuing groundout and tied the game in a most unexpected fashion.

Jimmy Rollins' flyout to center field was shallow enough that Matt Kemp's throw was in time to prevent Young from scoring, but the one-hopper blocked by Ellis got far enough away from the catcher that Young alertly scampered home on an error scored to Kemp.