@model.model_manifest
end
- def child_element_name child_model_manifest
- if @has_one[child_model_manifest.model_name]
- child_model_manifest.model_name
+ def child_element_name child_model
+ if @has_one[child_model.item_name]
+ child_model.item_name
else
- child_model_manifest.table_name
+ child_model.table_name
end
end