Twist an object along multiple axes like a roller coaster path
You need to model one segment of the repeating pattern of the roller coaster track, and then add an array modifier and a curve modifier. 

The important thing is to make sure you align the first control point in the curve with the object origin of the mesh object. Also, you can set the array length to be based on the length of the curve as well.