Sha256: 6f7ddbdb37d198f53622dafe3fabe70647d61f723a36d968ad2aa936f2f5d8db
Contents?: true
Size: 322 Bytes
Versions: 4
Compression:
Stored size: 322 Bytes
Contents
module Sis module Core class StudentDocument < ApplicationRecord has_one_attached :file belongs_to :document_type, optional: true belongs_to :student delegate(:code, to: :document_type, prefix: true, allow_nil: true) delegate(:name, to: :document_type, prefix: true) end end end
Version data entries
4 entries across 4 versions & 1 rubygems