check rails availability