Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gui/after_commit
A Ruby on Rails plugin to add an after_commit callback. Official fork with gem is now at:
https://github.com/gui/after_commit
Last synced: 1 day ago
JSON representation
A Ruby on Rails plugin to add an after_commit callback. Official fork with gem is now at:
- Host: GitHub
- URL: https://github.com/gui/after_commit
- Owner: GUI
- License: mit
- Created: 2008-05-31T21:24:46.000Z (over 16 years ago)
- Default Branch: master
- Last Pushed: 2008-07-18T22:30:05.000Z (over 16 years ago)
- Last Synced: 2024-11-08T16:47:25.937Z (9 days ago)
- Language: Ruby
- Homepage: https://github.com/freelancing-god/after_commit
- Size: 129 KB
- Stars: 43
- Watchers: 4
- Forks: 46
- Open Issues: 2
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
after_commit
===========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 following callbacks are provided:
* (1) after_commit
* (2) after_commit_on_create
* (3) after_commit_on_update
* (4) after_commit_on_destroy
The after_commit callback is run for any object that has just been committed. You can obtain finer
callback control by using the additional after_commit_on_* callbacks.