
@enunomaduro IMHO after_commit is a quick-and-dirty solution to this problem. Just return events instead of firing them instantly for a cleaner flow. If a method returns an event, you know you have to dispatch it while having full control over when and where.
English


























