Improve logging

This commit is contained in:
Karl Erik Õunapuu 2020-09-03 16:42:04 +03:00
parent 11fc484270
commit bbbb3d5367
No known key found for this signature in database
GPG key ID: C9DD647298A34764
5 changed files with 8 additions and 17 deletions

View file

@ -2,7 +2,6 @@ namespace :contacts do
desc 'Archives inactive contacts'
task archive: :environment do
puts 'Starting to gather archivable contacts'
inactive_contacts = InactiveContacts.new
archived_contacts = inactive_contacts.archive(verified: true)