Skip to content

iknow/persistent_enum

 
 

Repository files navigation

PersistentEnum

Build Status

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.

About

ActiveRecord database-backed enumeration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%