ClassyEnum::Mongoid
ClassyEnum is a Ruby on Rails gem that adds class-based enumerator functionality to model attributes. This adaptor works with Mongoid v2.1.0+
Installation
Add this line to your application's Gemfile:
gem 'classy_enum-mongoid'
And then execute:
$ bundle
Or install it yourself as:
$ gem install classy_enum-mongoid
Usage
See the ClassyEnum README for documentation and usage examples.
Copyright
Copyright (c) 2012 Peter Brown. See LICENSE for details.