I have a slight annoyance with my heroku push/deploy process, which otherwise has been a joy to discover and use.
If i add a new migration to my app, the only way i can get it up onto the heroku server is to do a push to the heroku remote. This uploads it and restarts the app. But it doesn't run the migration, so i have to do
heroku rake db:migrate --app myapp
heroku restart --app myapp
Here is a rake task that wraps up everything into a one-liner (and also supports rollback):
You still might wind up deploying on top of your boss's demo, but at least you don't waste time typing between the
git push and the