Method: Eventish::ActiveRecord::Callback#after_destroy_commit_event
- Defined in:
- lib/eventish/active_record/callback.rb
#after_destroy_commit_event(*args) ⇒ Object
113 114 115 116 |
# File 'lib/eventish/active_record/callback.rb', line 113 def after_destroy_commit_event(*args) event = args.shift after_destroy_commit -> { ::Eventish.publish(event, self) }, *args end |