Sha256: 76196fff0e802a0a7223754a5db7f564d7239da71618316ef72de12bccf07ee9
Contents?: true
Size: 505 Bytes
Versions: 6
Compression:
Stored size: 505 Bytes
Contents
module CoalescingPanda class User < ActiveRecord::Base belongs_to :account, foreign_key: :coalescing_panda_lti_account_id, class_name: 'CoalescingPanda::LtiAccount' has_many :enrollments, foreign_key: :coalescing_panda_user_id, class_name: 'CoalescingPanda::Enrollment' has_many :submissions, foreign_key: :coalescing_panda_user_id, class_name: 'CoalescingPanda::Submission' has_many :sections, through: :enrollments has_many :courses, through: :sections store :roles end end
Version data entries
6 entries across 6 versions & 1 rubygems