method

transaction_record_state

rails latest stable - Class: ActiveRecord::Transactions

Method deprecated or moved

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

transaction_record_state(state)
private

Determine if a record was created or destroyed in a transaction. State should be one of :new_record or :destroyed.