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