Fix rubocop offense in pipeline model

This commit is contained in:
Grzegorz Bizon 2016-08-19 15:02:35 +02:00
parent d147ebf3f8
commit a395b76286

View file

@ -137,7 +137,7 @@ module Ci
end
def mark_as_processable_after_stage(stage_idx)
builds.skipped.where('stage_idx > ?', stage_idx).each(&:process)
builds.skipped.where('stage_idx > ?', stage_idx).find_each(&:process)
end
def latest?