Aerosmith, YouTube

The song was originally titled "Rag Time," which was inspired by the New Orleans feel to the music. A lot of Aerosmith songs are about sex, this is no different.

Steven Tyler and Jim Vallance (Canadian songwriter) together co-wrote"Rag Doll",  Vallance's other credits include "Summer of '69", he also has credit for the  Aerosmith song "Deuces Are Wild."

Joe Perry (guitarist0 came up with the riff and  Jim Vallance provided the bass line.

Aerosmith performing, "Rag Doll":