Method: EffectiveAfterCommit::Base#after_commit
- Defined in:
- app/models/concerns/effective_after_commit.rb
#after_commit(connection: self.class.connection, &callback) ⇒ Object
14 15 16 |
# File 'app/models/concerns/effective_after_commit.rb', line 14 def after_commit(connection: self.class.connection, &callback) Effective::AfterCommit.register_callback(connection: connection, name: __method__, callback: callback) end |