add before_create :set_rating for advisers