Ticket to Ride - origin?

I have often heard this expression used.
In advertisements, it might say “Call this number for your ticket to ride” or on a game show “This is your ticket to ride”.
I was wondering if this has an origin.
Is it a line from a film?

Well, it’s a famous Beatles song for starters.