Skip to content

Commit

Permalink
Revert "explicitely define recipients_ids as attributes, try to fix f…
Browse files Browse the repository at this point in the history
…oodcoops#1055"

This reverts commit bcde771.
  • Loading branch information
mortbauer committed Mar 9, 2024
1 parent bcde771 commit 010778d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions plugins/messages/app/models/message.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ class Message < ApplicationRecord
has_many :message_recipients, dependent: :destroy
has_many :recipients, through: :message_recipients, source: :user

attribute :recipients_ids

attr_accessor :send_method, :recipient_tokens, :order_id

scope :threads, -> { where(reply_to: nil) }
Expand Down

0 comments on commit 010778d

Please sign in to comment.