Hello Ruby Friends! I've burned a few too many hours on this, so I suppose it's time to reach out for help...
I've written a Rails 4 app and I'm using the sass-rails gem. In my *. css.scss files I am using the image-url and font-url helpers to refer to fonts and images I am using in the CSS. After running RAILS_ENV=production rake assets:precompile, I noticed that the generated public/assets/application-xxxxxxx.css file is not referring to assets using the SHA finger print. Here is an example: I have an image that was precompiled into public/assets like so: public/assets/some-image-name-xxxxxxxxxxx.png In my public/assets/application-xxxxxxxxxxx.css file, the CSS references the image like this: background-image:url(/assets/some-image-name.png) I suspect the image-url helper from the sass-rails file is not working, but I cannot figure out why. I am having the same problem with the font-url helper that sass-rails provides. Anyone else encounter this issue before ? Ben W -- -- SD Ruby mailing list [email protected] http://groups.google.com/group/sdruby --- You received this message because you are subscribed to the Google Groups "SD Ruby" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
