Luca Canducci

Results 3 issues of Luca Canducci

Let's say we have a simple _Mongoid_ model: ``` ruby class Article include SimpleEnum::Mongoid VALID_TYPES = { blog: 0, vlog: 1, xlog: 2 } # ... as_enum :type, VALID_TYPES, source:...

enhancement
v3
discussion

The page [http://mongoid.org/en/mongoid/docs/indexing.html](http://mongoid.org/en/mongoid/docs/indexing.html) lists the `create_indexes` and `remove_indexes` rake task, but not the `remove_undefined_indexes` one which is quite useful.