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
The Transaction model uses an after_create :update_balances callback to update account balances. This is business logic that should be handled in a service object or command, not in a model callback. Refactor to move this logic out of the model.