From 4852acef9256ee60d76564ff7509dc72e016a863 Mon Sep 17 00:00:00 2001 From: Lin Jen-Shin Date: Thu, 16 Jun 2016 23:20:13 +0800 Subject: [PATCH] Use FIXME instead, feedback from: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4093/diffs#note_12501400 --- app/models/ci/runner.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/ci/runner.rb b/app/models/ci/runner.rb index 8149929f492..fa5cf03baec 100644 --- a/app/models/ci/runner.rb +++ b/app/models/ci/runner.rb @@ -27,8 +27,8 @@ module Ci end scope :available_for, ->(project) do - # TODO: That `to_sql` is needed to workaround a weird Rails bug. - # Without that, placeholders would miss one and couldn't match. + # FIXME: That `to_sql` is needed to workaround a weird Rails bug. + # Without that, placeholders would miss one and couldn't match. where(locked: false). where.not("id IN (#{project.runners.select(:id).to_sql})").specific end