Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display number of ratings #13

Open
wazery opened this issue Jul 30, 2014 · 2 comments
Open

Display number of ratings #13

wazery opened this issue Jul 30, 2014 · 2 comments

Comments

@wazery
Copy link
Owner

wazery commented Jul 30, 2014

Issue by morganjlopes
Sunday Apr 28, 2013 at 03:50 GMT
Originally opened as muratguzel#29


It would be great to be able to see how many users submitted a rating. How might you propose someone handle that?

@wlodi83
Copy link

wlodi83 commented Jan 13, 2015

Hi,

you can display information about how many users submitted a rating for @GAMe object in following way:

<%= @game.rates("rating").count %>

where "rating" is defined dimension in Game model by:

ratyrate_rateable "rating"

@jakeprins
Copy link

Do you know how I could update the counter without refreshing the page?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants