Module: TransactionRetry::ActiveRecord::Base
- Defined in:
- lib/transaction_retry/active_record/base.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
7 8 9 10 11 12 13 14 15 |
# File 'lib/transaction_retry/active_record/base.rb', line 7 def self.included( base ) base.extend( ClassMethods ) base.class_eval do class << self alias_method :transaction_without_retry, :transaction alias_method :transaction, :transaction_with_retry end end end |