class AdequateSerialization::CacheBusting::ActiveJobNotFoundError

Public Class Methods

new(record, association) click to toggle source
Calls superclass method AdequateSerialization::Error::new
# File lib/adequate_serialization/rails/cache_busting.rb, line 29
      def initialize(record, association)
        super(<<~MSG)
          In order to be able to bust the associated cache for #{record}'s
          `#{association}` association, AdequateSerialization enqueues a
          background job (since there are potentially multiple records on the
          association). In order to use the background job, it must have access
          to ActiveJob.
        MSG
      end