diff --git a/demo/config/initializers/good_job.rb b/demo/config/initializers/good_job.rb index f109eb99..0b663ac0 100644 --- a/demo/config/initializers/good_job.rb +++ b/demo/config/initializers/good_job.rb @@ -8,6 +8,12 @@ } end +Rails.configuration.after_initialize do + # TODO: It should not be necessary to manually initialize Active Record base + # This seemed to be introduced when PG Hero was added. + ActiveJob::Base +end + case Rails.env when 'development' GoodJob.on_thread_error = -> (error) { Rails.logger.warn("#{error}\n#{error.backtrace}") }