app/models/foreman_tasks/lock.rb in foreman-tasks-0.11.0 vs app/models/foreman_tasks/lock.rb in foreman-tasks-0.11.1
- old
+ new
@@ -1,6 +1,6 @@
module ForemanTasks
- class Lock < ActiveRecord::Base
+ class Lock < ApplicationRecord
LINK_LOCK_NAME = :link_resource
OWNER_LOCK_NAME = :task_owner
# not really intended to be created in database, but it's used for
# explicitly stating that the all the locks for resource should be used