1 2 3 4 5 6
# frozen_string_literal: true class FamilyTree < ActiveRecord::Base belongs_to :member, class_name: "User", foreign_key: "member_id" belongs_to :family end