方法
- N
类公共方法
new(name, type) 链接
源代码: 显示 | 在 GitHub 上查看
# 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