Where did the term "China Rails" come from

There is a very good doc series called hell on wheels about this
Not sure "doc" would be a propper description of the series.

Some truth mixed in with a lot of embellishment.

Really good show. Almost as good as Dead Wood. When Al gets the kidney stone, OMG Ian McShane should have gotten an award for that alone.