aboutsummaryrefslogblamecommitdiffstats
path: root/activerecord/test/models/family.rb
blob: 0713dba1a6ec0afd0422c1abee9c07b8a454ab6b (plain) (tree)
1
2
3
4
5
6

                             



                                                  
# frozen_string_literal: true

class Family < ActiveRecord::Base
  has_many :family_trees, -> { where(token: nil) }
  has_many :members, through: :family_trees
end