method

rollback_transaction

Importance_0
v5.2.3 - 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 227
      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.