hi,

I don't understand this error. I have an STI table "properties" with different children like House, Flat, Land...
when I want to add a new property, instead of creating a new House or Flat, I do New Property and list in a select box the different types but I get this error

It works for any column in the table except the type column. Should I create directly the proper subclass (ie new Home instead of new Property)?

PHP Code:
<p><label for="property_type">Type</label><br/>
<%= 
options = [["Select Type"""]] + Property::TYPES
    select
('property''type'options) %></p
where Property::TYPES is an array like that:
TYPES = [
["House", "House"],
["Flat", "Flat"],
["Plot", "Plot"]
]