X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8af14faa49deed681fa835dd6bd3f77316b44a55..81f5c72c76f36e7c712bac0ad54b37d945caa51f:/vendor/plugins/deadlock_retry/init.rb?ds=sidebyside diff --git a/vendor/plugins/deadlock_retry/init.rb b/vendor/plugins/deadlock_retry/init.rb index 9c00ea234..2d7c5f36e 100644 --- a/vendor/plugins/deadlock_retry/init.rb +++ b/vendor/plugins/deadlock_retry/init.rb @@ -1,5 +1,5 @@ require 'deadlock_retry' -if defined?(ActionRecord::Base) +if defined?(ActiveRecord::Base) ActiveRecord::Base.send :include, DeadlockRetry end