-
Notifications
You must be signed in to change notification settings - Fork 234
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
Object remains votable via JQuery after vote is placed #16
Comments
I'd actually like to see it allow people to update their votes if possible. |
Right, I would like that feature too. What I was getting at was that the model disallows it but the javascript allows it; it needs to be one way or the other, otherwise an error will keep happening. |
I agree :) |
Having the same problem. No solution to this yet? |
Seemed basically unusable to me. Check out Opinio. |
I had no enough time to add this feature however @robban has codded for it. I will test the commit and merge it. |
Thankyou! |
Not sure if this is a Rails 3.2 asset pipeline issue or what, but after placing a vote (the POST action happens fine), the javascript to be able to vote is still live and active. I am able to continue clicking stars, and in the console the model displays the "user already voted" error logs.
Jquery should be disabling the voting ability after a vote is cast, right?
The text was updated successfully, but these errors were encountered: