raty-rails is a Rails gem that wraps the jQuery Raty plugin. 用Restful的update方法更新ActiveRecord::Base对象的字段