Sha256: 5e700f1d1f8a228127cc56037be89040b5a14e9e5160c48d2792665c274bc2e0
Contents?: true
Size: 624 Bytes
Versions: 28
Compression:
Stored size: 624 Bytes
Contents
# <%= autogenerated_model_warning %> class RubricAssociation < 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 :association_object, polymorphic: true, primary_key: :canvas_id, foreign_type: :canvas_association_type, optional: true belongs_to :context, polymorphic: true, primary_key: :canvas_id, foreign_key: :canvas_context_id, optional: true has_many :rubric_assessments end
Version data entries
28 entries across 28 versions & 1 rubygems