An ActiveRecord extension allowing an attribute to be treated as a symbol-based enumeration.