Star rating in AJAX with Ruby On Rails [closed]

好久不见. 提交于 2019-11-29 03:09:32

问题


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?


回答1:


Check out ajaxful-rating plugin.




回答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)



来源:https://stackoverflow.com/questions/1052895/star-rating-in-ajax-with-ruby-on-rails

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!