Sha256: 84326836bfab2ce69092da294e73e4aec455a4ff15299f166f0215deb510b562

Contents?: true

Size: 313 Bytes

Versions: 1

Compression:

Stored size: 313 Bytes

Contents

# frozen_string_literal: true

class MemberDetail < ActiveRecord::Base
  belongs_to :member, inverse_of: false
  belongs_to :organization
  has_one :member_type, through: :member
  has_one :membership, through: :member

  has_many :organization_member_details, through: :organization, source: :member_details
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-on-quails-0.1.0 activerecord/test/models/member_detail.rb