Why are my ratified stars not working / loading / appearing in Heroku, although it works great for development? [SOLVED]

I tried all the solution that I could find here, like precompiling locally, changed jquery.raty.js to jquery.raty.js.erb and others, but this did not work for me.

I put star-half.png, star-off.png and star-on.png in app / assets / images, and jquery.raty.js in app / assets / javascripts

I need help please!

EDIT:

An epic solution that worked for me thanks to this :

configurations / environment / production.rb

from

config.assets.compile = false

in

config.assets.compile = true
+4
source share

Source: https://habr.com/ru/post/1627098/


All Articles