Rails Plugin for Multiple Ratings Per Model? -


I want to add the ability to rating a model under many different categories like "organized" "organized" . e.t.c. Is there a plugin that allows me to do this, and maybe even a good X / 5 star graphical representation?

I do not think any ratings plug-ins support it, but you CatgoricalRating < / Code>, which is set as such:

  # This table contains Model_ID, Rating_grad, and Columns which support the rating system category CatgoricalRating & lt; ActiveRecord :: Base is_to: Model actions_as_rateable # (or any other rating plugin) End class model & lt;  

Then in any model there can be any ranking through that relationship

You can also make it medium: via Where a model represents the categories, and the 'included' model adds a model to a model and also contains rating information.


Comments