brainspec / enumerize Ruby 1.8K 201 Enumerated attributes with I18n and ActiveRecord/Mongoid support ruby activerecord mongoid