learningtapestry/lcms-engine

View on GitHub
app/models/lcms/engine/reading_assignment_text.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
# frozen_string_literal: true

module Lcms
  module Engine
    class ReadingAssignmentText < ApplicationRecord
      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