继我上次的问题 https://ruby-china.org/topics/27309
当在别人的数据库表里面有 type
字段的时候就报了下面的错,有点不解:
The single-table inheritance mechanism failed to locate the subclass: '0'. This error is raised because the column 'type' is reserved for storing the class in case of inheritance. Please rename this column if you didn't intend it to be used for storing the inheritance class or overwrite ApmSellMem.inheritance_column to use another column for that information.