Paul McCartney has stated that the song “Ticket To Ride” was inspired by a trip he and John Lennon took by train to the town Ryde on the Isle Of Wight in the 1960’s. McCartney was quoted as saying it was a “British Railway ticket to the town of Ryde on the Isle of Wright.”
Lennon and McCartney wrote the song together although Lennon claimed it was about cards indicating a clean bill of health carried by prostitutes in Hamburg Germany in the 1960s. As you can see by Lennon’s original written lyrics it is “Ride” and not “Ryde.”
So that rumor can kinda be put to bed although Lennon and McCartney did fight over who actually wrote this song.