Class: ActiveRecord::ConnectionAdapters::Transaction

Inherits:
Object
  • Object
show all
Includes:
MSSQL::TransactionExt
Defined in:
lib/arjdbc/mssql/transaction.rb,
lib/arjdbc/abstract/transaction_support.rb

Instance Method Summary collapse

Instance Method Details

#add_record(record, ensure_finalize = true) ⇒ Object



88
89
90
91
# File 'lib/arjdbc/abstract/transaction_support.rb', line 88

def add_record(record, ensure_finalize = true)
  @records ||= []
  @records << record
end