Posts by dpedoneze • 111 points
1 post
-
1
votes2
answers78
viewsA: How to register a new Person when you create a new Customer
Speak Jean, all right? On the face, we can see that we have double relationships, since we have: has_one :address, as: :addressable has_one :phone, as: :phoneable in Person and also in Customer. The…