ActiveRecord::ConnectionAdapters::RealTransaction Ruby on Rails 5.1.2 Class ActiveRecord::ConnectionAdapters::RealTransaction < ActiveRecord::ConnectionAdapters::Transaction activerecord/lib/active_record/connection_adapters/abstract/transaction.rb Methods C commit N new R rollback Class Public methods new(connection, options, *args) Link Source: show | on GitHub # File activerecord/lib/active_record/connection_adapters/abstract/transaction.rb, line 125 def initialize(connection, options, *args) super if options[:isolation] connection.begin_isolated_db_transaction(options[:isolation]) else connection.begin_db_transaction end end Instance Public methods commit() Link Source: show | on GitHub # File activerecord/lib/active_record/connection_adapters/abstract/transaction.rb, line 139 def commit connection.commit_db_transaction super end rollback() Link Source: show | on GitHub # File activerecord/lib/active_record/connection_adapters/abstract/transaction.rb, line 134 def rollback connection.rollback_db_transaction super end