policies and auto review builds

This commit is contained in:
Mark Moser
2016-11-20 13:07:53 -06:00
parent e8e745f356
commit df997aa258
14 changed files with 124 additions and 61 deletions

View File

@ -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