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

Separate selected from available stars #63

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

migu0
Copy link

@migu0 migu0 commented Mar 12, 2014

Scenario:

  • Using the rating_for_user method
  • User has previously rated an object and reloaded the page

Problem:
The number of available stars now matches the previous rating (as opposed to the number of stars in the option hash specified or the default value of 5). For example if the previous rating was 3, there are only 3 out of 5 stars shown and the rating can't be changed to anything above 3 stars.

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

Successfully merging this pull request may close these issues.

1 participant