adding rails app.