Provide an ActiveRecord model that behaves as a database-backed enumeration between indices and symbolic values. This allows us to have a valid foreign key which behaves like a enumeration. Values are cached at startup, and cannot be changed.
forked from ceregousa/persistent_enum
-
Notifications
You must be signed in to change notification settings - Fork 0
ActiveRecord database-backed enumeration
License
iknow/persistent_enum
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
ActiveRecord database-backed enumeration
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Ruby 100.0%