A quick and easy way to add counter cache functionality to model - document associations in Mongoid
Justin Herrick
MIT