Skip to content

Latest commit

 

History

History
7 lines (6 loc) · 387 Bytes

File metadata and controls

7 lines (6 loc) · 387 Bytes

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.