Module: DeadlockRetry
- Defined in:
- lib/deadlock_retry.rb,
lib/deadlock_retry/version.rb
Defined Under Namespace
Modules: ClassMethods
Constant Summary collapse
- VERSION =
'1.2.0'
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'lib/deadlock_retry.rb', line 4 def self.included(base) base.extend(ClassMethods) base.class_eval do class << self alias_method_chain :transaction, :deadlock_handling end end end |