edge badge
Methods
C
M
R
Instance Public methods
commit()
# File activerecord/lib/active_record/connection_adapters/abstract/transaction.rb, line 200
def commit
  connection.commit_db_transaction if materialized?
  @state.full_commit!
end
materialize!()
# File activerecord/lib/active_record/connection_adapters/abstract/transaction.rb, line 185
def materialize!
  if isolation_level
    connection.begin_isolated_db_transaction(isolation_level)
  else
    connection.begin_db_transaction
  end

  super
end
rollback()
# File activerecord/lib/active_record/connection_adapters/abstract/transaction.rb, line 195
def rollback
  connection.rollback_db_transaction if materialized?
  @state.full_rollback!
end