don't connect to db when precompiling assets

fix deployment problem on heroku