Sha256: aa0fe76e8bf82417e6e429421754bf6b2c2b04db228b99dfba95bb29772403d8
Contents?: true
Size: 826 Bytes
Versions: 26
Compression:
Stored size: 826 Bytes
Contents
# <%= autogenerated_model_warning %> class RubricAssessment < ApplicationRecord include CanvasSync::Record include CanvasSync::Concerns::ApiSyncable canvas_sync_features :defaults validates :canvas_id, uniqueness: true, presence: true belongs_to :rubric, primary_key: :canvas_id, foreign_key: :canvas_rubric_id, optional: true belongs_to :rubric_association, primary_key: :canvas_id, foreign_key: :canvas_rubric_association_id, optional: true belongs_to :user, primary_key: :canvas_id, foreign_key: :canvas_user_id, optional: true belongs_to :assessor, class_name: "User", primary_key: :canvas_id, foreign_key: :canvas_assessor_id, optional: true belongs_to :artifact, polymorphic: true, primary_key: :canvas_id, foreign_type: :canvas_artifact_type, foreign_key: :canvas_artifact_id, optional: true end
Version data entries
26 entries across 26 versions & 1 rubygems