Sha256: 70685f468ef6dcd79fc75b76a72ccbc6b8d84054d269d93a67b31012b2c67cb0
Contents?: true
Size: 475 Bytes
Versions: 34
Compression:
Stored size: 475 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
34 entries across 34 versions & 1 rubygems