Advanced versioning for Mongoid models