A New Version of acts_as_rated plugin
Posted by Guy Naor Sun, 18 Feb 2007 13:09:00 GMT
I just uploaded to rubyforge a new version of the acts_as_rated plugin.
This version is thanks to Tiago Serafim who tested it and proposed the needed changes needed to make it work with MySQL.
Tiago also proposed a new method: rated_by?(rater) that returns true if the object is rated by the passed rater.
Thanks Tiago!
As usual full testing is provided. There is one failure in MySQL testing due to strangeness in MySQL average handling. They do fully pass with Postgres.


















Hello,
Can you please give a hint about what tables/fields are required? I saw the schema.rb file in the test folder, but I'm not sure what is required to get the plugin to work properly. Is there are rake task? Thanks much!
Guess I should have read the documentation better; it's right in the README! Duh. Sorry.