rails/rails — Issue #3577: config.assets.compile and config.action_controller.asset_host in production
Author: digidanny
Created: 2011-11-09 04:50:07+00:00
State: open

Repro steps:

1) Create a new Rails 3.1.1 app
2) Set config.assets.compile = false
3) Set config.action_controller.asset_host = "http://www.example.com"
4) Use image_tag to load an image relative to the asset host.

What happens:

Rails barfs and says image isn't precompiled.

What should happen:

Rails should load the image relative to the asset host.