4

I tried all the solution I can found here like precompiling locally, changed jquery.raty.js to jquery.raty.js.erb and others but it doesn't worked for me.

I placed the star-half.png, star-off.png, and star-on.png in app/assets/images while the jquery.raty.js is in app/assets/javascripts


Solved:

Solution that worked for me thanks to this:

config/environments/production.rb

from:

config.assets.compile = false

to:

config.assets.compile = true
Cœur
  • 37,241
  • 25
  • 195
  • 267
Jeramae Bohol
  • 185
  • 2
  • 14
  • Possible duplicate of [Ratyrate stars not loading in production (heroku)](http://stackoverflow.com/questions/30291314/ratyrate-stars-not-loading-in-production-heroku) – Ken Y-N Feb 03 '16 at 04:36
  • I tried that solution but it doesn't fixed for me that's why I posted this same concern. Can you help me please? – Jeramae Bohol Feb 03 '16 at 04:37

0 Answers0