I'd actually been zoning in on the vertex parenting approach myself, but it's fascinating to see a slightly alternative approach.
This is a work in progress for a larger image I'm working on, but I'm fairly pleased with how the tracks have come out so far. Clearly the materials need more work, but they'll get there eventually. :)