Read more

Getting Sidekiq error "delay is defined by Active Record"

Thomas Eisenbarth
August 06, 2015Software engineer at makandra GmbH

Reason: You very likely have a model that has a delay attribute.

Illustration online protection

Rails Long Term Support

Rails LTS provides security patches for old versions of Ruby on Rails (2.3, 3.2, 4.2 and 5.2)

  • Prevents you from data breaches and liability risks
  • Upgrade at your own pace
  • Works with modern Rubies
Read more Show archive.org snapshot

You can configure Sidekiq to remove its delay method by adding this to your Sidekiq initializer:

Sidekiq.remove_delay!

If you need to keep Sidekiqs delay features, add Sidekiq.hook_rails! before the option above. The sidekiq methods will be prefixed with sidekiq_ then.

Posted by Thomas Eisenbarth to makandra dev (2015-08-06 15:02)