ActiveRecord's confusing Single Table Inheritance behavior with NULL type
Recently I spent hours debugging an issue in a Rails project where ActiveRecord was causing MySQL errors trying to create a User object of a class at the top level of a Single Table Inheritance model structure. It turns out `.create` behaves differently based on the default value of the type field!