method
committed!
v7.1.3.2 -
Show latest stable
- Class:
ActiveRecord::Transactions
committed!(should_run_callbacks: true)public
Call the #after_commit callbacks.
Ensure that it is not called if the object was never persisted (failed create), but call it after the commit of a destroyed object.