]> git.openstreetmap.org Git - rails.git/blobdiff - vendor/plugins/deadlock_retry/init.rb
Allow the format to be selected for note API responses
[rails.git] / vendor / plugins / deadlock_retry / init.rb
index 9c00ea234cec8d77dc331e1d0c39beb5980a947f..2d7c5f36e0246244b40a16b37a9fe179415dd5f9 100644 (file)
@@ -1,5 +1,5 @@
 require 'deadlock_retry'
 
-if defined?(ActionRecord::Base)
+if defined?(ActiveRecord::Base)
   ActiveRecord::Base.send :include, DeadlockRetry
 end