Adds support for declaring an ActiveRecord class as an enumeration