You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If an after_commit is called inside of a transaction and that transaction has calls to model methods that can trigger model callbacks, the block passed to after_commit will be called multiple times. For example,
If an
after_commit
is called inside of a transaction and that transaction has calls to model methods that can trigger model callbacks, the block passed toafter_commit
will be called multiple times. For example,When this transaction runs, the welcome e-mail will be sent multiple times because the block is run repeatedly.
The text was updated successfully, but these errors were encountered: