Sha256: cd6f4d24fb1433c65f842aa12181a930ef442124a319dd82b71c4abdaab34a49
Contents?: true
Size: 476 Bytes
Versions: 87
Compression:
Stored size: 476 Bytes
Contents
# frozen_string_literal: true require_dependency "renalware/messaging" module Renalware module Messaging module Internal class Message < Renalware::Messaging::Message belongs_to :author, class_name: "Internal::Author" has_many :receipts, dependent: :destroy has_many :recipients, through: :receipts belongs_to :replying_to_message, class_name: name scope :ordered, -> { order(sent_at: :desc) } end end end end
Version data entries
87 entries across 87 versions & 1 rubygems