RubyFlow The Ruby and Rails community linklog

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

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in