2013-04-13 19 views
0

我有哪裏我使用Twitter的活躍記錄,信譽體系寶石(https://github.com/twitter/activerecord-reputation-system/)一個對系統評估值,其中我有這樣的事情:獲取活動記錄信用體系寶石

class Something 
    has_reputation :rating,  source: :user, aggregated_by: :average 
end 

而且用戶可以從1到5的值進行投票。

現在,我想向用戶顯示該對象的當前評級值。我搜索了這個寶石,但找不到一個方法向用戶顯示他給出的評分,只是評分的平均值。

回答