using rails app on heroku for server side