Enable Style/SymbolProc

This commit is contained in:
gregoirenovel 2018-10-01 14:20:14 +02:00
parent 7e4268db67
commit d9d4f6fe20
16 changed files with 17 additions and 26 deletions

View file

@ -45,7 +45,7 @@ namespace :support do
if user.dossiers.state_instruction_commencee.any?
fail "Cannot delete this user because instruction has started for some dossiers"
end
user.dossiers.each { |d| d.delete_and_keep_track }
user.dossiers.each(&:delete_and_keep_track)
user.destroy
end
end