Mongoid::Enum - a spoonful of sweetness for your mongoid documents
I just released Mongoid::Enum, a gem heavily inspired by DHH’s ActiveRecord::Enum. This little library is there to help you cut down the cruft and repetition in your Mongoid documents and includes support for multiple values, scopes, and baked in (optional) validations, and a few other bits-and-pieces.
Post a comment