0
に単一のメソッドから複数のメールを送信する私は、単純なメーラーactionmailerの
class ApplyMailer < ActionMailer::Base
def inform_teacher
end
def inform_division
end
def inform_everyone
inform_teacher.deliver
inform_division.deliver
end
end
がinform_teacher
を呼び出すとinform_division
すべてがうまく動作しています。しかし、私がinform_everyone
に電話しようとすると、1つの空のメールが届くだけです。
1つの方法で複数のメールメソッドを組み合わせることはできますか?これに