Rails how to update a column after saving?

前端 未结 5 2087
栀梦
栀梦 2020-12-15 08:09

I want to create an after_save method for my rate action. It would divide rating_score/ratings and update the column rating.

class KonkurrancersController &         


        
5条回答
提交回复
热议问题