mongoid-enum 0.3.0
Heavily inspired by DDH's ActiveRecord::Enum, this little library is there to help you cut down the cruft in your models and make the world a happier place at the same time.
Gemfile:
=
安装:
=
Runtime 依赖 (1):
mongoid
~> 4.0
Development 依赖 (6):
bundler
~> 1.3
database_cleaner
~> 1.2.0
guard-rspec
~> 4.0.3
mongoid-rspec
~> 1.5.1
rake
>= 0
rspec
~> 2.14