]> git.openstreetmap.org Git - rails.git/blobdiff - vendor/plugins/deadlock_retry/init.rb
Update Potlatch 2 to 2.3-19-gf15d9bc build
[rails.git] / vendor / plugins / deadlock_retry / init.rb
index 9c00ea234cec8d77dc331e1d0c39beb5980a947f..2d7c5f36e0246244b40a16b37a9fe179415dd5f9 100644 (file)
@@ -1,5 +1,5 @@
 require 'deadlock_retry'
 
 require 'deadlock_retry'
 
-if defined?(ActionRecord::Base)
+if defined?(ActiveRecord::Base)
   ActiveRecord::Base.send :include, DeadlockRetry
 end
   ActiveRecord::Base.send :include, DeadlockRetry
 end