method

new

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: ColumnNotSerializableError
new(name, type) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/attribute_methods/serialization.rb, line 10
        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
Register or log in to add new notes.