Exception: ActiveJob::Uniqueness::StrategyNotFound

Inherits:
Error
  • Object
show all
Defined in:
lib/active_job/uniqueness/errors.rb

Overview

Raised when unknown strategy is referenced in the job class

class MyJob < ActiveJob::Base

unique :invalid_strategy # exception raised

end