Flowdock
method

with_transaction_returning_status

Importance_1
Ruby on Rails latest stable (v4.1.8) - 0 notes - Class: ActiveRecord::Transactions
with_transaction_returning_status() public

Executes method within a transaction and captures its return value as a status flag. If the status is true the transaction is committed, otherwise a ROLLBACK is issued. In any case the status flag is returned.

This method is available within the context of an ActiveRecord::Base instance.

Show source
Register or log in to add new notes.