Example Class
class Example < ApplicationRecord
extend Enumerize
enumerize :name, in: %i[alice bob carol]
end
Then table column value is invalid as Enumerize ActiveRecord instance returns nil
Examinee.find_by(name: 'david').name # nil
This Enumerize Trouble Remove enumerize line in Model then it fixed.
Examinee.find_by(name: 'david').name # david