method

transaction

rails latest stable - Class: ActiveRecord::ConnectionAdapters::PostgreSQLAdapter

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.2.1) is shown here.

transaction(start_db_transaction = true)
public

Wrap a block in a transaction. Returns result of block.