Added endorsement functionality for reviews in ruby