Hoping the rairoad will select a route which will bring prosperity to their town, the townspeople (with less than 15 seconds notice) amazingly convert the saloon into a meeting place for church, and begin to sing "Rock of Ages" just as the railroad officials enter the room. The problem is: everybody remembers only the first 6 words of "Rock of Ages," so (hesitantly at first, then with gusto) they simply repeat those six words, six times, to complete the hymn.
(The railroad decides against the local route, and instead selects some unknown town called Denver.)