Add /ping route and scheduler:ping rake task that can be called from the Heroku scheduler add-on to prevent the app from idling.  Note that in order for this to work, you must set the HOST config variable on Heroku to equal your apps hostname and add the free scheduler add-on and configure it to run the 'scheduler:ping' task every 10 minutes.