我升级赖斯2.3.2项目轨道3
错误:
undefined method `deliver_sent' for MailerFormError:Class
Application Trace | Framework Trace | Full Trace
app/controllers/leads_controller.rb:72:in `block in create'
app/controllers/leads_controller.rb:56:in `create'
MailerFormError是我的模型: class MailerFormError < ActionMailer::Base
这是在型号和的ActionMailer :: Base的都没法“deliver_sent”太多:(
与它的代码的控制器:
@msg = {}
@msg["errors"] = @lead.errors
@msg["params"] = params
MailerFormError.deliver_sent(@msg)
的ActionMailer版:的ActionMailer(3.2.11)
我怎么解决这个问题?