The images I'm talking about is the star-half.png
, star-off.png
, and star-on.png
located in the assets/images
folder that I use for my star rating feature in my app.
In development, these images works perfectly but when I push to Heroku, the images won't load/broken. I'm already aware of using aws s3 for file uploads, but since this is just a static .png image, what is my best solution?
Currently, my solution is setting the config.assets.compile = true
in production.rb
but I want to know if there is a better solution?