Adding https://github.com/phstc/mongomapper_id2 capabilities #200

Closed
wants to merge 3 commits into
from

Projects

None yet

2 participants

@phstc
phstc commented Dec 31, 2010

This pull request adds auto incremented id for MongoMapper documents. According http://groups.google.com/group/mongomapper/browse_thread/thread/ecf1ab92d9ad6f11/115b72f2a6e44d29#115b72f2a6e44d29 and https://github.com/phstc/mongomapper_id2

This pull request includes only auto_incremented id, the base62 capabilities I will send in another pull request

@jnunemaker
Contributor

This kind of functionality is better as a plugin as not everyone will need it.

@phstc
phstc commented Jan 2, 2011

About Base62 I totally agree. But with auto incremented ID, I think that it's good for MongoMapper. It's a optional feature "auto_increment!" IMHO

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment