Sha256: 213853b1cd2f9d21c3a162a723b678b8031fddec4979d54b36eeda4713057ac6

Contents?: true

Size: 214 Bytes

Versions: 10

Compression:

Stored size: 214 Bytes

Contents

module Gaku
  class LessonPlan < ActiveRecord::Base

    include Notes

    has_many :lessons
    has_many :attachments, as: :attachable
    belongs_to :syllabus

    validates :syllabus, presence: true

  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
gaku-0.1.1 core/app/models/gaku/lesson_plan.rb
gaku_core-0.1.1 app/models/gaku/lesson_plan.rb
gaku-0.1.0 core/app/models/gaku/lesson_plan.rb
gaku_core-0.1.0 app/models/gaku/lesson_plan.rb
gaku_core-0.0.3 app/models/gaku/lesson_plan.rb
gaku-0.0.3 core/app/models/gaku/lesson_plan.rb
gaku-0.0.2 core/app/models/gaku/lesson_plan.rb
gaku_core-0.0.2 app/models/gaku/lesson_plan.rb
gaku-0.0.1 core/app/models/gaku/lesson_plan.rb
gaku_core-0.0.1 app/models/gaku/lesson_plan.rb