method
begin_db_transaction
v3.1.0 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::MysqlAdapter
begin_db_transaction()public
No documentation available.
# File activerecord/lib/active_record/connection_adapters/mysql_adapter.rb, line 465
def begin_db_transaction #:nodoc:
exec_without_stmt "BEGIN"
rescue Mysql::Error
# Transactions aren't supported
end