method
transaction_record_state
v5.1.7 -
Show latest stable
- Class:
ActiveRecord::Transactions
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.