diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-09-28 17:47:18 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-09-28 17:47:18 +0300 |
commit | b65641959165e8d7daf47f921b058a647189a060 (patch) | |
tree | f6d14d73b63006ca4b917adda6694d4285743fe3 /app/models | |
parent | d8e631c1e5de535864f36e985e9bfbc4a8482916 (diff) | |
parent | c876bfa0f28ddae7fbca314505f5b150b9cec194 (diff) |
Merge branch 'move-runners-page'
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/ci/project.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/ci/project.rb b/app/models/ci/project.rb index a52e28615f7..8fb54b90d61 100644 --- a/app/models/ci/project.rb +++ b/app/models/ci/project.rb @@ -100,7 +100,7 @@ module Ci def unassigned(runner) joins("LEFT JOIN #{Ci::RunnerProject.table_name} ON #{Ci::RunnerProject.table_name}.project_id = #{Ci::Project.table_name}.id " \ "AND #{Ci::RunnerProject.table_name}.runner_id = #{runner.id}"). - where('#{Ci::RunnerProject.table_name}.project_id' => nil) + where("#{Ci::RunnerProject.table_name}.project_id" => nil) end def ordered_by_last_commit_date |