Plugins - acts_as_rateable
Add to favoritesAdds acts_as_rateable functionality to ActiveRecord models, which allows you to associate a rating with any model, which you can then use for searching, sorting, etc.
http://rateableplugin.rubyforge.org
svn://rubyforge.org/var/svn/rateableplugin/trunk
Rails' (MIT)
Model
Tags
Chankas
aaaaaaaaaaa
acs_as_rated
activerecord
acts
acts_as_rateable
acts_as_rated
adfasfd
afdasdf
as
asfdafds
borked
dfg
fg
fgdfgdf
g
ghdbh
plugin
ratable
rate
rateable
rated
rating
redbox
sdf
star
super
test
tyu
zurpit
zz
zzzz
zzzzzzz

Fix to have acts_as_rateable working with rails 2.1
Edit acts_as_rateable.rb :
Make the dependent option as :nullify instead of :true (has_many :ratings, :as => :rateable, :dependent => :nullify )
Got same problem like Sandeep, help anybody?
Hi,
Do we have Rails 2.1 compatible version of acts_as_rateable? Please let me know how to make it compatible: right now it bails out throwing: ArgumentError (The :dependent option expects either :destroy, :delete_all, or :nullify (true)):
Regards, Sandeep G
Those looking for this kind of functionality but with cached values (like vince) should look at the other plugin acs_as_rated.
Hey, how do we paginate the search on say top rated objects. That rails paginate don't support group option.
this plugin does not scale well. to calculate the ratings, it has to first look up all the ratings for the item, then add them up! if you had to list items by ratings, you would effectively have to do this for each item being rated!! you really need a separate column in the table for the item being rated that gets updated every time it gets rated
There's also similar plugin at http://rubyforge.org/projects/ratable/