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,594 of 180,671
Downloads: 6,570

Daily

Ranking: 151,891 of 180,660
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
16861,639,035rake
24771,889,602rspec
34544,188,711activerecord
238133,206,073sqlite3
2,0707,630,085appraisal

Owners

#GravatarHandle
1iconvoltechs