Star rating in AJAX with Ruby On Rails
13,010
Solution 1
Check out ajaxful-rating plugin.
Solution 2
Fully a year later, since this is one of the top hits on Google for this subject I thought I'd add this note:
Ajaxful rating doesn't really work on Rails 3, so you might want to check out this tutorial for how to create your own star rating system in Rails 3. (http://eighty-b.tumblr.com/post/1569674815/creating-an-ajaxified-star-rating-system-in-rails-3)
Author by
collimarco
Updated on July 22, 2022Comments
-
collimarco almost 2 years
I think that acts_as_rateable seems to be quite obsolete and doesn't support AJAX.
I'm looking for a simple "5 star" rating system: is there any plugin or tutorial that can help?
-
collimarco almost 15 yearsGreat plugin! It is exactly what I was looking for.
-
Simone Carletti almost 15 yearsPrego! :D (dannati 15 caratteri del commento...)
-
Admin about 14 yearsStackOverflow requires you to post in English. However, you comment is not.
-
Ryan almost 12 yearsAs of Rails 3.1, there is a gem for a simple to use jquery star rating system: github.com/RichGuk/jquery-star-rating-rails