mirror of https://github.com/rails/rails
Merge pull request #51881 from ngan/document-transaction.active_record
Document the transaction.active_record event
This commit is contained in:
commit
26f8edf411
|
@ -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`
|
||||
|
|
Loading…
Reference in New Issue