Prevent connecting to db during assets precompilation (for Heroku)