Flowdock
method

rollback_transaction

Importance_0
v7.1.3.2 - 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 519
      def rollback_transaction(transaction = nil)
        @connection.lock.synchronize do
          transaction ||= @stack.last
          begin
            transaction.rollback
          ensure
            @stack.pop if @stack.last == transaction
          end
          transaction.rollback_records
        end
      end
Register or log in to add new notes.