Acts As Ratable plugin
Plugin details
Documentation
Install the plugin:
ruby script/plugin install svn://rubyforge.org/var/svn/ratable/trunk
exposes these methods:
------------------------
average_rating raters rating_by( by_opt ) rate_as(rating, opts={})
Simple Example:
class PopularRater < ActiveRecord::Base #attribute title acts_as_ratable end # In your controller PopularRater.find_by_name("popular").rate_as(1, [:by="anonymous"]);
Further Documentation
There is currently no advanced documentation for this plugin.
New documentationEdit plugin | Back in time (1 older version) | Last edited by: scott, about 1 year ago

