RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

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