Add rails base