【发布时间】:2014-05-02 15:09:46
【问题描述】:
我在使用延迟作业时不断出错。
Job failed to load: `@' is not allowed as an instance variable name.
在这里调用它:
report = Report.find(params[:id])
report.delay.record_fixing( report.records.where(found: nil, pending: nil) )
redirect_to reports_path
记录修复是
def record_fixing(records)
records.search_fullcontact
end
【问题讨论】:
-
粘贴方法代码
search_fullcontact -
我也遇到了同样的问题,你有解决办法吗?
-
和完整的错误跟踪。
-
@sevenseacat 请检查答案并发表评论。
-
这仍然是个问题吗?