This project is archived and is in readonly mode.
scafffold, 1st column value is wrong
-
Frederick Cheung
- State changed from new to invalid
Type is a "magic" column for activerecord, used for single table inheritance (and slightly magic for ruby too, since Object#type is a deprecated alias for Object#class). With single table inheritance the type column is used for storing what the class of the object is so what you are seeing is normal.
Pick a different column name or use set_inheritance_column to tell activerecord not to use the type column for this purpose