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



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