Heroku Cedar stack and Rails 3.1 RC5 images are not displayed?

Anyone get a Rails 3.1 RC5 powered by Heroku cedar stack? So far, everything works, except that images of objects (e.g. logo, icons, main_bg, etc.) are not displayed.

I am not sure if this is related to this issue .

I would like to hear from everyone who was able to fix this problem.

+4
source share
1 answer

Fine tuning of this parameter is no longer required in Rails 3.1, but if you are updating previous versions of 3.1 RC, either comment out the x_sendfile_header parameter or set it to nil in the production.rb file

 config.action_dispatch.x_sendfile_header = nil 

This parameter is recommended in Heroku docs .

+7
source

All Articles