mysql字段名与rails保留字冲突
jztan 2007-10-22 08:40:13 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 Info.inheritance_column to use another column for that information.
Extracted source (around line #153):
mysql字段名是rails的保留字,在不改字段名的情况下但find中又要引用怎么办?试了对字段加[]或对字段加表名也不行