aboutsummaryrefslogblamecommitdiffstats
path: root/activerecord/test/models/family_tree.rb
blob: cd9829fedddc7d8fa0fca1373fb2e0530185c0ca (plain) (tree)
1
2
3
4



                                                                  
class FamilyTree < ActiveRecord::Base
  belongs_to :member, class_name: "User", foreign_key: "member_id"
  belongs_to :family
end