public
Clone URL: git://github.com/bumi/rateable_fu.git
Search Repo:
bumi (author)
Thu Jun 26 08:51:18 -0700 2008
name age message
folder MIT-LICENSE Thu Jun 26 08:51:18 -0700 2008 inital commit [bumi]
folder README Thu Jun 26 08:51:18 -0700 2008 inital commit [bumi]
folder Rakefile Thu Jun 26 08:51:18 -0700 2008 inital commit [bumi]
folder examples/ Thu Jun 26 08:51:18 -0700 2008 inital commit [bumi]
folder init.rb Thu Jun 26 08:51:18 -0700 2008 inital commit [bumi]
folder install.rb Thu Jun 26 08:51:18 -0700 2008 inital commit [bumi]
folder lib/ Thu Jun 26 08:51:18 -0700 2008 inital commit [bumi]
folder tasks/ Thu Jun 26 08:51:18 -0700 2008 inital commit [bumi]
folder test/ Thu Jun 26 08:51:18 -0700 2008 inital commit [bumi]
folder uninstall.rb Thu Jun 26 08:51:18 -0700 2008 inital commit [bumi]
README
RateableFu
==========

Rating Plugin for ActiveRecord models.

This Plugin is heavily inspired by http://acts-as-rated.rubyforge.org/  from the great guys from 
http://devblog.famundo.com/

Features
=======
 * Rate any model (polymorphix)
 * Cache rating, ratings_count to the rateable object.
 * Use any object as the rater (default is set to User)
 * Creates the Rating class for you. - if you want. Or just add your own Rating class to your models dir
 * find_rated_by
 * find_by_rating - Accepts an Range or an integer/float: Article.find_by_rating(3..5,:limit=>5)
 * nice readable language: @article.rate(5).by(current_user) or current_user.rate(@article).with(3)

Installation
=======


Example
=======



Copyright (c) 2008 [Michael Bumann Raislove.com], released under the MIT license