for ruby on rails deployed through heroku