class ActiveRecord::AttributeMethods::Serialization::ColumnNotSerializableError

def initialize(name, type)

def initialize(name, type)
  super <<~EOS
    Column `#{name}` of type #{type.class} does not support `serialize` feature.
    Usually it means that you are trying to use `serialize`
    on a column that already implements serialization natively.
  EOS
end