module MR::AfterCommit::Record::InstanceMethods
Private Instance Methods
mr_after_commit_call_procs_for_create()
click to toggle source
ActiveRecord runs `after_save` after `after_create`, so run the save procs after the create procs
# File lib/mr/after_commit/record.rb, line 28 def mr_after_commit_call_procs_for_create mr_after_commit_call_procs(:create) mr_after_commit_call_procs(:save) end
mr_after_commit_call_procs_for_destroy()
click to toggle source
# File lib/mr/after_commit/record.rb, line 40 def mr_after_commit_call_procs_for_destroy mr_after_commit_call_procs(:destroy) end
mr_after_commit_call_procs_for_update()
click to toggle source
ActiveRecord runs `after_save` after `after_update`, so run the save procs after the update procs
# File lib/mr/after_commit/record.rb, line 35 def mr_after_commit_call_procs_for_update mr_after_commit_call_procs(:update) mr_after_commit_call_procs(:save) end