Sha256: 4558783960ae0c1c31922d27a915e348e500dff851b04958f91c23dfb5a951e5
Contents?: true
Size: 469 Bytes
Versions: 4
Compression:
Stored size: 469 Bytes
Contents
module Family class Parent # The SSN is a secondary key property :ssn, :secondary_key # A parent owns children. property :children, :dependent # The spouse is an independent reference. The spouse is an idempotent inverse, # i.e. parent = parent.spouse.spouse. property :spouse, :inverse => :spouse # The household is an independent reference with inverse members. property :household, :inverse => :members end end
Version data entries
4 entries across 4 versions & 1 rubygems