Module: EffectiveAfterCommit

Extended by:
ActiveSupport::Concern
Defined in:
app/models/concerns/effective_after_commit.rb

Overview

EffectiveAfterCommit

Execute code after the ActiveRecord transaction has committed Inspired by github.com/Envek/after_commit_everywhere

This is automatically included into ActiveRecord::Base

after_commit { MyMailer.welcome.deliver_later }

Defined Under Namespace

Modules: Base