Sha256: 17af5a8a5fed3573d1f9546a01da15988ffb935bd7befc5d435fb7899ac3f77b
Contents?: true
Size: 423 Bytes
Versions: 24
Compression:
Stored size: 423 Bytes
Contents
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 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
24 entries across 24 versions & 1 rubygems