Code to reproduce an error I'm experiencing with Heroku