From b88fd9ffc9efac694209a0e289cb7b026569af7e Mon Sep 17 00:00:00 2001 From: Sarah Smulligan <64047083+Smullz622@users.noreply.github.com> Date: Wed, 7 Aug 2024 14:05:30 -0400 Subject: [PATCH 1/2] fix typo --- lib/tasks/com_effort_data.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/com_effort_data.rake b/lib/tasks/com_effort_data.rake index 8e0acca..2838103 100644 --- a/lib/tasks/com_effort_data.rake +++ b/lib/tasks/com_effort_data.rake @@ -1,7 +1,7 @@ namespace :com_effort do desc 'Integrate COM Effort data.' - task :integrate, [:target] => :environment do |_task, _args| + task :integrate, [:target] => :environment do |_task, args| Rails.application.eager_load! start = Time.now # Takes params hash -> params[:target] must be defined (:beta or :production) From e61fd96ec4613818cd5550bcfe5a5dcff28b750b Mon Sep 17 00:00:00 2001 From: Sarah Smulligan <64047083+Smullz622@users.noreply.github.com> Date: Wed, 7 Aug 2024 14:11:30 -0400 Subject: [PATCH 2/2] fix typo --- lib/tasks/com_quality_data.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/com_quality_data.rake b/lib/tasks/com_quality_data.rake index d7e7b0f..3787083 100644 --- a/lib/tasks/com_quality_data.rake +++ b/lib/tasks/com_quality_data.rake @@ -1,7 +1,7 @@ namespace :com_quality do desc 'Integrate COM Quality data.' - task :integrate, [:target] => :environment do |_task, _args| + task :integrate, [:target] => :environment do |_task, args| Rails.application.eager_load! start = Time.now # Takes params hash -> params[:target] must be defined (:beta or :production)