aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/family_tree.rb
blob: a8ea907c05bcee2b613cf0b7f8376b7d56c6d983 (plain) (blame)
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