# File lib/after_commit_queue.rb, line 10 def run_after_commit(method = nil, &block) _after_commit_queue << Proc.new { self.send(method) } if method _after_commit_queue << block if block true end