Sha256: 52cb5aca3cade8cc7990b3bea12673897951ba53e0194775b76fdef91d9f0a9c

Contents?: true

Size: 344 Bytes

Versions: 4

Compression:

Stored size: 344 Bytes

Contents

# frozen_string_literal: true

module Lcms
  module Engine
    class ReadingAssignmentText < ActiveRecord::Base
      has_many :resource_reading_assignments
      has_many :resources, through: :resource_reading_assignments

      belongs_to :reading_assignment_author
      alias_attribute :author, :reading_assignment_author
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
lcms-engine-0.1.4 app/models/lcms/engine/reading_assignment_text.rb
lcms-engine-0.1.3 app/models/lcms/engine/reading_assignment_text.rb
lcms-engine-0.1.2 app/models/lcms/engine/reading_assignment_text.rb
lcms-engine-0.1.0 app/models/lcms/engine/reading_assignment_text.rb