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: 105,053 of 189,933
Downloads: 7,477

Daily

Ranking: 52,898 of 189,920
Downloads: 6

Depended by

RankDownloadsName

Depends on

RankDownloadsName
81,248,043,640rake
29954,622,386rspec
36758,347,959activerecord
278174,274,420sqlite3
2,02513,153,659appraisal

Owners

#GravatarHandle
1iconvoltechs