I was looking for jQuery based ajax rating and i didnt find one. hence i forked ajaxful-rating project and thus jQuery based ajax rating was born.
gem install jqrating
ruby script/generator jqrating
rest of them works similarly like ajaxful-rating. see ajaxful-rating README for more information