Rating functionality for Mongoid documents