Module: Transaction
- Defined in:
- lib/transaction/simple.rb,
lib/transaction/simple/threadsafe.rb
Overview
The “Transaction” namespace can be used for additional transaction support objects and modules.
Defined Under Namespace
Modules: Simple Classes: TransactionAborted, TransactionCommitted, TransactionError, TransactionThreadError
Constant Summary collapse
- Messages =
:nodoc:
{ #:nodoc: :bad_debug_object => te % "the transaction debug object must respond to #<<.", :unique_names => te % "named transactions must be unique.", :no_transaction_open => te % "no transaction open.", :cannot_rewind_no_transaction => te % "cannot rewind; there is no current transaction.", :cannot_rewind_named_transaction => te % "cannot rewind to transaction %s because it does not exist.", :cannot_rewind_transaction_before_block => te % "cannot rewind a transaction started before the execution block.", :cannot_abort_no_transaction => te % "cannot abort; there is no current transaction.", :cannot_abort_transaction_before_block => te % "cannot abort a transaction started before the execution block.", :cannot_abort_named_transaction => te % "cannot abort nonexistant transaction %s.", :cannot_commit_no_transaction => te % "cannot commit; there is no current transaction.", :cannot_commit_transaction_before_block => te % "cannot commit a transaction started before the execution block.", :cannot_commit_named_transaction => te % "cannot commit nonexistant transaction %s.", :cannot_start_empty_block_transaction => te % "cannot start a block transaction with no objects.", :cannot_obtain_transaction_lock => te % "cannot obtain transaction lock for #%s.", :transaction => "Transaction", :opened => "open", :closed => "closed", :transaction_name => "Transaction Name", :start_transaction => "Start Transaction", :rewind_transaction => "Rewind Transaction", :commit_transaction => "Commit Transaction", :abort_transaction => "Abort Transaction", }