Skip to content
This repository has been archived by the owner on Jul 20, 2021. It is now read-only.

Sequenced fields for sub-classed Mongoid Documents. #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

gt-sdi
Copy link

@gt-sdi gt-sdi commented Jun 11, 2012

First ... thank you for your super useful Gem. I've extended it for sub-classed documents.

Adds use_superclass_sequence so that subclassed documents increment the superclass sequence(s). Subclasses can also declare their own sequenced fields.

@gt-sdi
Copy link
Author

gt-sdi commented Jun 12, 2012

Realized that sequence wasn't working on embedded documents .... so added that too.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant