{"issue":{"created_at":"2011-11-21T10:37:46Z","state":"open","updated_at":"2011-11-28T16:34:36Z","user":{"gravatar_id":"ab3bd127ce5e35766919bbf19efb4d67","id":60786,"url":"https://api.github.com/users/neilmiddleton","avatar_url":"https://secure.gravatar.com/avatar/ab3bd127ce5e35766919bbf19efb4d67?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"neilmiddleton"},"comments":1,"body":"I have an application with several images mentioned in the scss, all of which use image_url helpers\r\n\r\nIn my production.rb I've tried both:\r\n\r\n`config.action_controller.asset_host = \"//#{ENV['AWS_BUCKET']}.s3.amazonaws.com\"`\r\n\r\nand\r\n\r\n`ActionController::Base.asset_host = \"//#{ENV['AWS_BUCKET']}.s3.amazonaws.com\"`\r\n\r\nIn both cases the url generated is relative to the root of the app, not the S3 host which every other asset uses.","assignee":null,"id":2303314,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":3709,"labels":[],"title":"image_url etc do not appear to respect asset_hosts","closed_at":null,"html_url":"https://github.com/rails/rails/issues/3709","url":"https://api.github.com/repos/rails/rails/issues/3709","milestone":null},"action":"created","comment":{"created_at":"2011-11-28T16:34:36Z","updated_at":"2011-11-28T16:34:36Z","user":{"gravatar_id":"1f0b221851379759360d7130dabdfa53","id":13426,"url":"https://api.github.com/users/kennyj","avatar_url":"https://secure.gravatar.com/avatar/1f0b221851379759360d7130dabdfa53?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"kennyj"},"body":"@neilmiddleton\r\nThis is related to #3759 ? (contrary??)\r\nPlease tell us the reproduce step, live or precompile ? , and your environment.","id":2900362,"url":"https://api.github.com/repos/rails/rails/issues/comments/2900362"}}