Quantcast
Viewing all articles
Browse latest Browse all 12

"Developing a social networking site part 2 - rating stars" by Zach

OH HAI! Awesome little tutorial/plugin/I-don't-know here :) I solved abenamer@yahoo.com's problem. It originates in the controller in your rate definition, specifically: @landlord.rate(rating, current_user.person) As you said, you used person instead of user, but it might have been vague. Regardless, you need to use something like: @landlord.rate(rating, current_user) if you are using the standard user system. That is all.

Viewing all articles
Browse latest Browse all 12

Trending Articles