base rails app configuration