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) 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)