mongoid-sequence
mongoid-sequence copied to clipboard
Specify fields to behave like a sequence number (exactly like the "id" column in conventional SQL flavors) while using Mongoid.
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...
I've made some changes and now the gem works with Mongoid 3.0
Hi! Thanks for this nice gem. I just added a small feature that allows one to specify another model field as additional discriminator for the sequence. The value of the...
It would be great if this gem supported mongoid 3
Is there a way to treat an existing sequence skipping the old value? Thanks!
Is the consistency of mongoid-sequence guaranteed when operating with MongoDB configured as a replica set? I am trying to building a HA configuration with my rails app and MongoDB use...