Merge pull request #51881 from ngan/document-transaction.active_record

Document the transaction.active_record event
This commit is contained in:
Eileen M. Uchitelle 2024-05-22 09:11:57 -04:00 committed by GitHub
commit 26f8edf411
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 9 additions and 0 deletions

View File

@ -406,6 +406,15 @@ This event is only emitted when [`config.active_record.action_on_strict_loading_
}
```
#### `transaction.active_record`
This event is emmited for every transaction to the database.
| Key | Value |
| -------------------- | ---------------------------------------------------- |
| `:connection` | Connection object |
| `:outcome` | `:commit`, `:rollback`, `:restart`, or `:incomplete` |
### Action Mailer
#### `deliver.action_mailer`