Exception: ActiveJob::Uniqueness::InvalidOnConflictAction

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

Overview

Raised when unsupported on_conflict action is used

class MyJob < ActiveJob::Base

unique :until_expired, on_conflict: :die # exception raised

end