Categories: None [Edit]

enumerate

https://rubygems.org/gems/enumerate
https://github.com/twilightcoders/enumerate
Enumerate adds an `enumerate` command to all ActiveRecord models, enabling you to work with string or integer columns as if they were enums. The following features are added to your model: Validation - ensures that the field only receives accepted values Predicate Methods - adds ? and ! functions for each enum value Scopes - you can easily query for values of the enum

Total

Ranking: 102,582 of 180,643
Downloads: 6,568

Daily

Ranking: 141,617 of 180,629
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
16860,399,527rake
24771,261,281rspec
34543,530,731activerecord
238133,096,476sqlite3
2,0737,612,757appraisal

Owners

#GravatarHandle
1iconvoltechs