ride the rails

Verb

 * 1)  To travel by railway train, trolley, etc.

Usage notes

 * Sometimes used to denote travelling illegally by hiding on railway freight cars, especially as a hobo during the Great Depression.