Incompatible with production Rails?
bfischer1121 opened this issue · 0 comments
bfischer1121 commented
Hello,
ix_image_tag doesn't appear to pass the image path through ActionView's image_path, instead using it as is. This caused an issue for me when deploying to production because sprockets requires an auto-generated cache buster to be part of the path. So I was getting 404's until I wrapped the paths in image_path before passing them off to ix_image_tag.
Not sure if it's intentional or not, but adding that into the code or noting it in documentation would improve this library.
Best,
Blake