Modified for Heroku and precompiled assets
config.consider_all_requests_local = true