n class="ruby-identifier">app_id</span>,<span class="ruby-identifier">exception_class</span>)
  <span class="ruby-identifier">app_ids</span> = <span class="ruby-identifier">app_id_array</span>.<span class="ruby-identifier">collect</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">a</span><span class="ruby-operator">|</span> <span class="ruby-identifier">a</span>[<span class="ruby-string">'id'</span>]}
  <span class="ruby-identifier">update_all_status_to</span>(<span class="ruby-iden