Set the sti_key column to the name of the model.
[Source]
# File lib/sequel/plugins/single_table_inheritance.rb, line 56 56: def before_create 57: return false if super == false 58: send("#{model.sti_key}=", model.name.to_s) 59: end
[Validate]