Flat-bottom rail