Rails 3.2: missing jQuery user interface icons

I moved to Rails 3.2.2, deployed all the changes to the production server. Now all my jQuery user interface icons are missing.

After deployment, I compiled all the resources using this:

bundle exec rake assets:precompile

I also added // = require jquery-ui to application.js.

Icons work fine in env development, but they don’t appear after deployment to a production server.

+3
source share
2 answers

You have moved jquery-UI images to the appropriate directory under

app/assets/images/ 

?

0
source

Well, the reason is that I forgot to change the jQuery custom CSS code to use the asset pipeline. Here is the fix:

- jquery-ui-custom... css .css.erb --append <% = assets_pipeline '... png'% > , .

0

All Articles