Sha256: c4ade9c821d773de78564c26d7b0ffac32f6b11a98bd96178aab92b38b2f5b1a
Contents?: true
Size: 240 Bytes
Versions: 6
Compression:
Stored size: 240 Bytes
Contents
module Gaku class Level < ActiveRecord::Base belongs_to :school has_many :program_levels has_many :programs, through: :program_levels validates :name, :school, presence: true def to_s name end end end
Version data entries
6 entries across 6 versions & 2 rubygems