This is the first patch of many to replace our custom enums in Ruby by the ones provided by `ActiveRecord`.