ratyrate icon indicating copy to clipboard operation
ratyrate copied to clipboard

Certain options/symbols not working

Open tomurho opened this issue 10 years ago • 8 comments

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.

tomurho avatar Aug 09 '14 13:08 tomurho

I will check that, and report to you.

Thanks Islam Wazery

wazery avatar Aug 09 '14 13:08 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

wazery avatar Aug 13 '14 12:08 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.

nbirnel avatar Aug 22 '14 16:08 nbirnel

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:

wazery avatar Aug 23 '14 11:08 wazery

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

keithomalley avatar Feb 13 '15 17:02 keithomalley

Also getting the refresh/direct url issue.

chbrown1293 avatar May 17 '15 16:05 chbrown1293

Has there been any update on this issue? I want to use your gem but this is a major problem for me.

TylerSangster avatar May 21 '15 22:05 TylerSangster

@TylerSangster this might help, worked for me. http://stackoverflow.com/questions/30291314/ratyrate-stars-not-loading-in-production-heroku

chbrown1293 avatar May 21 '15 23:05 chbrown1293