Open tomurho opened 10 years ago
I will check that, and report to you.
Thanks Islam Wazery
There is no option called can_change
, can you tell me where did you find it so I remove any reference to it.
I fixed the issue with enable_half
option and pushed to master
Please add this line to your Gemfile
gem 'ratyrate', :github => 'wazery/ratyrate'
Then run the following:
bundle update
rails server
Thanks Islam Wazery
I'm using gem 'ratyrate', :github => 'wazery/ratyrate'
and I am still getting the issue of ratings not appearing until a refresh. Is this a bug, or am I doing something wrong? code is at https://github.com/nbirnel/Library-Application/tree/ratyrate2, and I have ratyrate_rateable 'rating' in books model.
Yes this issue isn't fixed yet, I will investigate the cause of it and report back here, thanks for your patience and please consider starring this repo :smile: :star:
I'm also getting this problem, the star rating will show up if i enter the URL directly or if i refresh the page, the div wrapper is there in the html, but the star images and cancel icon aren't. The problem seems to be caused from using rails link_to helper but I'd really appreciate a fix
Also getting the refresh/direct url issue.
Has there been any update on this issue? I want to use your gem but this is a major problem for me.
@TylerSangster this might help, worked for me. http://stackoverflow.com/questions/30291314/ratyrate-stars-not-loading-in-production-heroku
While certain options/symbols such as :star work, certain options are not functioning for me such as :enable_half (false doesn't work for me), and :can_change (true doesn't work for me).
Also, when I return to a page I need to refresh the browser for the ratings to appear.