Create has_one relationship with flexible resource type
is there a "best practice" for creating a has_one relationship with a flexible resource type?
E.g. if I have the resources PrivateContact and PublicContact
Is something like the following possible?
E.g. if I have the resources PrivateContact and PublicContact
Is something like the following possible?
relationships do
has_one :address, PrivateContact | PublicContact
end