lib/models/good_job/process.rb in good_job-2.99.0 vs lib/models/good_job/process.rb in good_job-3.0.0
- old
+ new
@@ -23,18 +23,9 @@
# @!method active
# @!scope class
# @return [ActiveRecord::Relation]
scope :inactive, -> { advisory_unlocked }
- # Whether the +good_job_processes+ table exsists.
- # @return [Boolean]
- def self.migrated?
- return true if connection.table_exists?(table_name)
-
- migration_pending_warning!
- false
- end
-
# UUID that is unique to the current process and changes when forked.
# @return [String]
def self.current_id
mutex.synchronize do
if _current_id.nil? || _pid != ::Process.pid