runner_project.rb 194 Bytes EditWeb IDE 1 2 3 4 5 6 7 8 9 10 module Ci class RunnerProject < ActiveRecord::Base extend Ci::Model belongs_to :runner belongs_to :project validates :runner_id, uniqueness: { scope: :project_id } end end