Base app on rails