module MongoidAutoIncrement
This is a modified version of the code found on this blog post: ihswebdesign.com/blog/autoincrement-in-mongodb-with-ruby/
This is a modified version of the code found on this blog post: ihswebdesign.com/blog/autoincrement-in-mongodb-with-ruby/