Sha256: ca289082c78f18eb4e51e358cac3780981c2f8dc92cbfa1ed5cce3dfcee891e3

Contents?: true

Size: 164 Bytes

Versions: 6

Compression:

Stored size: 164 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
ibm_db-5.5.0 test/models/family.rb
ibm_db-5.4.1 test/models/family.rb
ibm_db-5.4.0 test/models/family.rb
ibm_db-5.3.2 test/models/family.rb
ibm_db-5.3.1 test/models/family.rb
ruby-on-quails-0.1.0 activerecord/test/models/family.rb