user896715
user896715

Reputation: 109

delayed job unknown attribute error

I setup delayed job and it was working fine for a while. Suddenly i get unknown attribute: queue when try to add the following line to one of my controllers:

Delayed::Job.enqueue(EmailJob.new())

any hints?

Upvotes: 1

Views: 1271

Answers (1)

Sridhar
Sridhar

Reputation: 149

You need to run rails generate delayed_job:upgrade

Refer https://github.com/collectiveidea/delayed_job/issues/453

Upvotes: 6

Related Questions