Results 1 to 9 of 9
Jul 22, 2008, 14:56 #1
- Join Date
- Jul 2008
- 0 Post(s)
- 0 Thread(s)
[simply rails 2] restricting multiple "diggs" from the same user?
what is the best way to restirct users, so they can cast only one vote per submission?
I've tried few things, but none of them work. only thing that does work is this line in create.js.rjs:
page.replace_html 'vote_form', "voted"
then I've tried editing the controller, so that it checks if user already voted, but I got stuck.