【发布时间】:2014-03-14 04:08:52
【问题描述】:
我正在使用queue_classic,
如何使用 queue_classic 发送以下电子邮件?
Notifier.welcome(david).deliver # sends the email
更新
我在 User 类中添加了一个新的类方法
def.say_hello
puts "hello!"
Notifier.welcome(@david).deliver
end
QC.enqueue("puts", "hello world") 工作正常,
但QC.enqueue("User.say_hello") 不发送电子邮件"
我能做什么?
【问题讨论】:
标签: ruby-on-rails backgroundworker actionmailer queue-classic