They played less games and some of the ballparks had larger dimensions. The old Yankee Stadium had a huge centerfield but Ruth would hit some out there as well.
The old stadium in Pittsburgh had extremely large Dimensions just to prevent home runs. Ruth hit the last 3 homers in the stadiums history, all in the same game.
http://en.m.wikipedia.org/wiki/Forbes_Field