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)

Share:
13,010
collimarco
Author by

collimarco

Updated on July 22, 2022

Comments

  • collimarco
    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
    collimarco almost 15 years
    Great plugin! It is exactly what I was looking for.
  • Simone Carletti
    Simone Carletti almost 15 years
    Prego! :D (dannati 15 caratteri del commento...)
  • Admin
    Admin about 14 years
    StackOverflow requires you to post in English. However, you comment is not.
  • Ryan
    Ryan almost 12 years
    As of Rails 3.1, there is a gem for a simple to use jquery star rating system: github.com/RichGuk/jquery-star-rating-rails