coding for ratings in ruby on rails

Hi how to do coding for ratings in ruby on rails ...
i am confused......i tried using

http://www.naffis.com/blog/articles/2006/08/31/rails-ajax-star-rating-system

site but it is not working.

if any one knows please let me know.
thanks.

Benig a bit more specific would be helpful. The rating system has a
few facets to it.

Let's assume you've got the display aspect figured out and it's the
database part that your having trouble with. Otherwise, you should
consult a css forum for ironing out the display.

Now - are you having trouble entering the rating at all, or is it just
the ajax redisplay of the rating that isn't working? You might wanna
connect directly to your database server to see if the ratings are
registering.

-josh