class LaboratorySubject < ApplicationRecord belongs_to :laboratory belongs_to :subject end