If you’ve recently loaded a new Rails 4 application to Heroku and your assets are missing (css, js, etc) – you’re not alone. Add the following lines to your production.rb (or staging.rb) environment configuration files:
config.serve_static_assets = true
config.assets.compile = true
Then push the changes up to Heroku and you’re good to go.