Method: AfterCommitAction::ActiveRecord#execute_after_commit
- Defined in:
- lib/after_commit_action.rb
#execute_after_commit(&block) ⇒ Object
19 20 21 22 |
# File 'lib/after_commit_action.rb', line 19 def execute_after_commit(&block) @_execute_after_commit ||= [] @_execute_after_commit<< block end |