5 lines
133 B
Ruby
5 lines
133 B
Ruby
|
class Family < ActiveRecord::Base
|
||
|
has_many :family_trees, -> { where(token: nil) }
|
||
|
has_many :members, through: :family_trees
|
||
|
end
|