ride someone on a rail—punish a person by carrying him on a rail to be mocked:
- The gentleman ought to be ducked, ridden on a rail, tarred and feathered.
ride the rails—(U.S. sl.) travel by rail, especially without a ticket:
- After college, Philip took off on a five-week tour of the country, riding the rails with hobos, going all the way to Chicago.