Add function to check rails configs