edgarjs / ajaxful-rating

Provides a simple way to add rating functionality to your application.
http://rdoc.info/projects/edgarjs/ajaxful-rating
417 stars 127 forks source link

Helpers #72

Closed pwgustafson closed 12 years ago

pwgustafson commented 12 years ago

I can't seem to find how to user any of the helpers (if there are any)

I have an article model that is rateable on multiple dimensions, I would like to be able to get the global rating of a specific dimension, and across all dimensions...

Is this possible?

Thanks!

edgarjs commented 12 years ago

You can find the instructions in the README file, in the Use it section, here's the link:

https://github.com/edgarjs/ajaxful-rating#use-it

pwgustafson commented 12 years ago

Yeah, I saw that...

I was curios what other helpers are available...If I wanna get the scores/ratings of article in other places besides the actual ratings area...

I see that I can do:

@article.rates(:data_presentation)

Is there a way to get the ratings for all dimensions?

edgarjs commented 12 years ago

Oh I get it. Well, no, you'll need to call that method for each dimension. Or call it without arguments to have an average of all dimensions.