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.
# File activerecord/lib/active_record/transactions.rb, line 313 def committed!(should_run_callbacks = true) #:nodoc: _run_commit_callbacks if should_run_callbacks && destroyed? || persisted? ensure force_clear_transaction_record_state end