Fix message plugin after f8148e7d30
This commit is contained in:
parent
30c53746fc
commit
0564b18e22
1 changed files with 1 additions and 0 deletions
|
@ -19,6 +19,7 @@ class Message < ApplicationRecord
|
||||||
validates_length_of :subject, :in => 1..255
|
validates_length_of :subject, :in => 1..255
|
||||||
|
|
||||||
after_initialize do
|
after_initialize do
|
||||||
|
@recipients_ids ||= []
|
||||||
@send_method ||= 'recipients'
|
@send_method ||= 'recipients'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue