Fix message plugin after f8148e7d30

This commit is contained in:
Patrick Gansterer 2019-10-30 12:02:00 +01:00
parent 30c53746fc
commit 0564b18e22
1 changed files with 1 additions and 0 deletions

View File

@ -19,6 +19,7 @@ class Message < ApplicationRecord
validates_length_of :subject, :in => 1..255
after_initialize do
@recipients_ids ||= []
@send_method ||= 'recipients'
end