We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4b821ab + 8408c8d commit de2ecd6Copy full SHA for de2ecd6
1 file changed
app/models/benchmark_type.rb
@@ -30,7 +30,7 @@ def comparison_benchmark_types
30
31
def check_benchmark_runs_validity
32
if self.digest_was && self.digest_changed?
33
- self.benchmark_runs.update_all(validity: false)
+ self.benchmark_runs.where(validity: true).update_all(validity: false)
34
end
35
36
0 commit comments