Sha256: 1e3545d0db4c3d2b6263d53803a78f13a00010319fa49eb3ec32ea0380ea1902
Contents?: true
Size: 394 Bytes
Versions: 14
Compression:
Stored size: 394 Bytes
Contents
# A Coach Assignment is the relationship between a participant # and which coach he/she is assigned to. However, please keep # in mind that only one coach is tied to each participant # However, a coach could have many participants class CoachAssignment < ActiveRecord::Base belongs_to :coach, class_name: "User" belongs_to :participant validates :coach, :participant, presence: true end
Version data entries
14 entries across 14 versions & 1 rubygems