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 &
@konkurrancer.update_attributes :ratings=>'updated value'