ratyrate icon indicating copy to clipboard operation
ratyrate copied to clipboard

Average Score and individual Score

Open mloayzat opened this issue 9 years ago • 1 comments

Hello, new app developer and Github contrbuter here. I love the idea of this gem but had a simple question: I currently have a list of spa services in one page with different columns just as Name, Phone, Address etc and wanted to have a column for rating where each user that registers can see a big star with the avg score and below it have the 5 small stars for them to be able to rate themselves and edit the rating later if they want. I used the following code which appeared to be working but then when I was testing it with a new user I realized that if they haven't rated the place yet they cannot see the average but just the 5 small stars.

Any tips and/or is this possible to do?

Score:

mloayzat avatar Nov 30 '15 04:11 mloayzat

Hey mloayzat,

Can you post the code from your service model please?

ckiklas avatar Jan 07 '16 21:01 ckiklas