Search Results

Search found 1 results on 1 pages for 'zizee'.

Page 1/1 | 1 

  • Starting out with vote_fu

    - by zizee
    Hi All, Trying my luck with the vote_fu rails plugin. The functionality looks like exactly what I need for a project of mine, but I have hit a roadblock. I have followed the github readme to the letter, installing it as a plugin. I have put acts_as_voteable on my "Event" model and acts_as_voter on my User model. In the console, when I try: >> event.votes or >> user.votes it successfully returns an empty array. but when I try to do the following: user.vote_for(event) I get "NoMethodError: undefined method `user_id' for #<Vote:0x7f5ed4355540>" Any ideas? I'm probably just missing something obvious, but maybe something is missing from the plugin's readme. Thanks.

    Read the article

1