instance method
rollback_db_transaction
Ruby on Rails 3.1.12
Since v3.1.12 Last seen in v3.1.12Signature
rollback_db_transaction()
No documentation comment.
Source
# File activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb, line 333
def rollback_db_transaction
execute "ROLLBACK"
rescue Exception
# Transactions aren't supported
end
Defined in activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb line 333
· View on GitHub
· Improve this page
· Find usages on GitHub