07 Nov '13, 12am

Mongoid::Enum - a spoonful of sweetness for your mongoid documents

Mongoid::Enum - a spoonful of sweetness for your mongoid documents Posted by theTRON on November 07, 2013 — 0 comments 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.

Full article: http://www.rubyflow.com/items/10021-mongoid-enum-a-spoonf...

Tweets