Sha256: c59f735a898ee05afea6c6993a749e10368ded31a636719ad60a9b4608ee02c5
Contents?: true
Size: 613 Bytes
Versions: 35
Compression:
Stored size: 613 Bytes
Contents
# # AUTO GENERATED MODEL # This model was auto generated by the CanvasSync Gem. # You can customize it as needed, but make sure you test # any changes you make to the auto generated methods. # class Submission < ApplicationRecord validates :canvas_submission_id, uniqueness: true, presence: true belongs_to :assignment, primary_key: :canvas_assignment_id, foreign_key: :canvas_assignment_id, optional: true belongs_to :user, primary_key: :canvas_user_id, foreign_key: :canvas_user_id, optional: true belongs_to :course, primary_key: :canvas_course_id, foreign_key: :canvas_course_id, optional: true end
Version data entries
35 entries across 35 versions & 1 rubygems