It's also how the San Diego trolley works (it's called a trolley, but it is almost a heavy rail with respect to how separated the tracks are everywhere except downtown). One of the cleanest, most effective rail systems I've seen in the US (though there are a lot of security in the wagons)