method

rollback_transaction

Importance_0
v6.0.0 - Show latest stable - 0 notes - Class: TransactionManager
rollback_transaction(transaction = nil) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/connection_adapters/abstract/transaction.rb, line 269
      def rollback_transaction(transaction = nil)
        @connection.lock.synchronize do
          transaction ||= @stack.pop
          transaction.rollback
          transaction.rollback_records
        end
      end
Register or log in to add new notes.