I would like to use acts_as_rateable for rating a model instance. I need sample code for implement this feature.
on 2009-02-20 11:22
on 2009-02-20 12:02
Just check the link I posted earlier...
on 2009-02-20 12:08
do we need has_many relationship for this application in link
on 2009-02-20 12:19
not explicitly. it is in fact a has_many relationship, because your model has_many :rates, but you dont need to write that. the only thing you have to write in your model is acts_as_rateable. but that's all in the example.