Open
Description
Hi,
I have been trying to implement resque-unique_by_arity in our rails application.
As per the readme I have configured the gem after the perform class method
class MyUniqueJob < ActiveJob::Base
queue_as :default
def perform(args)
# perform method here
end
include Resque::Plugins::UniqueByArity.new(
arity_for_uniqueness: 1,
unique_at_runtime: true,
unique_in_queue: true
)
end
I still get the error undefined method `perform' for class `#<Class:MyUniqueJob>'
Is this gem compatible with ActiveJob?
Thanks!
Metadata
Assignees
Labels
No labels