lib/good_job/job.rb in good_job-1.9.0 vs lib/good_job/job.rb in good_job-1.9.1
- old
+ new
@@ -1,9 +1,9 @@
module GoodJob
#
# Represents a request to perform an +ActiveJob+ job.
#
- class Job < ActiveRecord::Base
+ class Job < Object.const_get(GoodJob.active_record_parent_class)
include Lockable
# Raised if something attempts to execute a previously completed Job again.
PreviouslyPerformedError = Class.new(StandardError)