From 068239f8be0db8c2b737fc5ec0a3b41cd1607363 Mon Sep 17 00:00:00 2001 From: Frida Casas Date: Tue, 19 Nov 2019 10:53:47 -0500 Subject: [PATCH] Use puts instead of rails logger --- lib/tasks/gifts.rake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/tasks/gifts.rake b/lib/tasks/gifts.rake index 627c9a579..0d19d632e 100644 --- a/lib/tasks/gifts.rake +++ b/lib/tasks/gifts.rake @@ -15,15 +15,15 @@ namespace :gift do Do you want to gift the remaining coupons to incompleted users? (y/n)" - Rails.logger.info message + puts message input = STDIN.gets.strip if input == 'y' - Rails.logger.info 'Gifting coupons...' + puts 'Gifting coupons...' GiftService.call else - Rails.logger.info 'Terminating.' + puts 'Terminating.' end end end