Sha256: ef613f25076000e26fbce71b3f14d0ac4a8e231419085e007e881c064e4a35e8

Contents?: true

Size: 346 Bytes

Versions: 108

Compression:

Stored size: 346 Bytes

Contents

module CoalescingPanda
  class Term < ActiveRecord::Base
    belongs_to :account, foreign_key: :coalescing_panda_lti_account_id, class_name: 'CoalescingPanda::LtiAccount'
    has_many :courses, foreign_key: :coalescing_panda_term_id, class_name: 'CoalescingPanda::Course'

    validates :coalescing_panda_lti_account_id, presence: true
  end
end

Version data entries

108 entries across 108 versions & 1 rubygems

Version Path
coalescing_panda-4.6.0.rc1 app/models/coalescing_panda/term.rb
coalescing_panda-4.5.7 app/models/coalescing_panda/term.rb
coalescing_panda-4.5.6 app/models/coalescing_panda/term.rb
coalescing_panda-4.5.5 app/models/coalescing_panda/term.rb
coalescing_panda-4.5.4 app/models/coalescing_panda/term.rb
coalescing_panda-4.5.3 app/models/coalescing_panda/term.rb
coalescing_panda-4.5.2 app/models/coalescing_panda/term.rb
coalescing_panda-4.5.1 app/models/coalescing_panda/term.rb
coalescing_panda-4.5.0 app/models/coalescing_panda/term.rb
coalescing_panda-4.0.11 app/models/coalescing_panda/term.rb
coalescing_panda-4.0.10 app/models/coalescing_panda/term.rb
coalescing_panda-4.0.9 app/models/coalescing_panda/term.rb
coalescing_panda-4.4.1 app/models/coalescing_panda/term.rb
coalescing_panda-4.0.8 app/models/coalescing_panda/term.rb
coalescing_panda-4.4.0 app/models/coalescing_panda/term.rb
coalescing_panda-4.0.7 app/models/coalescing_panda/term.rb
coalescing_panda-4.3.2 app/models/coalescing_panda/term.rb
coalescing_panda-4.3.0 app/models/coalescing_panda/term.rb
coalescing_panda-4.2.2 app/models/coalescing_panda/term.rb
coalescing_panda-4.2.1 app/models/coalescing_panda/term.rb