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: 106,451 of 195,789
Downloads: 7,718

Daily

Ranking: 107,324 of 195,762
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
81,385,215,595rake
291,006,734,618rspec
36821,824,221activerecord
281191,170,176sqlite3
1,99515,188,686appraisal

Owners

#GravatarHandle
1iconvoltechs