ActiveRecord enum types incorrectly interpreted by generator
Created by: schneidmaster
ActiveRecord enums are integers in the database, but ActiveRecord translates them into the associated string value before returning them to Rails application code. The problem is that the administrate generator interprets them as integers by default, which means that any generated dashboards with enums error unless you manually change the attribute type to Field::String
in each one.