I learned it when Krad told me that bug was possible.
First,make a simple rail.
Then,grab it.
Now make it vertical (zooming in makes it easier)
And then,pause the game (and test it) or just select another object without messing the rail.It will stop simply stop there as a normal rail.