When I had a rails app on Heroku (a while ago), I solved that by setting up a free Pingdom account to ping a full stack (hit the DB, hit any external services I was using) "heartbeat" route. I'm not sure if this works any more, though - they may have done something to work around it.