chore(rubocop): fix Rails/WhereNotWithMultipleConditions
This commit is contained in:
parent
e9649b667e
commit
20f0b64736
1 changed files with 2 additions and 1 deletions
|
@ -22,7 +22,8 @@ class Traitement < ApplicationRecord
|
|||
includes(:dossier)
|
||||
.termine
|
||||
.where(dossier: procedure.dossiers.visible_by_administration)
|
||||
.where.not('dossiers.depose_at' => nil, processed_at: nil)
|
||||
.where.not('dossiers.depose_at' => nil)
|
||||
.where.not(processed_at: nil)
|
||||
.order(:processed_at)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue