Rail objects do create the full geometry of the rail if you have the “W” rail profile selected, so that’s not the problem.
The problem is likely to be related to the way that double-sided materials are being rendered. The rail has a double-sided material applied to it - without this, you would only ever see one side of the rail in rendered views.
Because a double-sided material is not native to metnal ray, it’s likely that tweaking some of the rendering settings for Mental Ray might have been necessary.
Incidentally, if you ever have trouble with double-sided materials not showing up in the viewport on both sides (but look fine in rendered output), check out this knowledgebase article from the Autodesk web site:
http://usa.autodesk.com/adsk/servlet/ps/item?siteID=123112&id=12567803&linkID=10381719