-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
10 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,13 @@ | ||
after_commit | ||
=========== | ||
|
||
A Ruby on Rails plugin to add an after_commit callback. This can be used to | ||
trigger things only after the entire transaction is complete. | ||
A Ruby on Rails plugin to add after_commit callbacks. The callbacks that are provided can be used | ||
to trigger events that run only after the entire transaction is complete. This is beneficial | ||
in situations where you are doing asynchronous processing and need committed objects. | ||
|
||
The callbacks that are provided are: | ||
|
||
* (1) after_commit | ||
* (2) after_commit_on_create | ||
* (3) after_commit_on_update | ||
* (4) after_commit_on_destroy |