From 4075f654b9899583cc61ca014fe04953c05ead19 Mon Sep 17 00:00:00 2001 From: Manny Dinssa <44172848+Dinssa@users.noreply.github.com> Date: Thu, 10 Oct 2024 13:13:38 +0100 Subject: [PATCH] Change labelling in rake --- lib/tasks/duplicate_rent_periods.rake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/tasks/duplicate_rent_periods.rake b/lib/tasks/duplicate_rent_periods.rake index 19a20c157..dce8b35be 100644 --- a/lib/tasks/duplicate_rent_periods.rake +++ b/lib/tasks/duplicate_rent_periods.rake @@ -32,7 +32,7 @@ def process_duplicate_rent_periods(log_groups: true) } end -desc "Find and output each group of duplicate rent periods with a total count" +desc "Find and output each group of duplicate rent periods with counts" task find_redundant_rent_periods: :environment do result = process_duplicate_rent_periods(log_groups: true) @@ -42,7 +42,7 @@ task find_redundant_rent_periods: :environment do Rails.logger.info "Number of records to keep: #{result[:to_keep_ids].size}" end -desc "Delete redundant rent periods" +desc "Delete duplicate rent periods" task delete_duplicate_rent_periods: :environment do result = process_duplicate_rent_periods(log_groups: false)