instance method
begin_db_transaction
Ruby on Rails 2.3.18
Since v2.2.3 Last seen in v3.2.22.5Signature
begin_db_transaction()
Begins a transaction.
Source
# File activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb, line 535
def begin_db_transaction
execute "BEGIN"
end
Defined in activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb line 535
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::ConnectionAdapters::PostgreSQLAdapter