]> git.openstreetmap.org Git - rails.git/blob - vendor/plugins/deadlock_retry/init.rb
Make database offline mode work
[rails.git] / vendor / plugins / deadlock_retry / init.rb
1 require 'deadlock_retry'
2
3 if defined?(ActionRecord::Base)
4   ActiveRecord::Base.send :include, DeadlockRetry
5 end