policies and auto review builds

This commit is contained in:
Mark Moser committed 2016-11-20 13:07:53 -06:00
1 parent e8e745f356
commit df997aa258
14 files changed
+124 -61

No files matched your search

@@ -0,0 +1,6 @@
# frozen_string_literal: true
class InitReviewerVotes < ActiveRecord::Migration[5.0]
def up
Candidate.where(completed: true).each(&:build_reviews)
end
end