Changed config.assets.compile to true in production.rb to solve 404 error with Heroku