From db7d2913b41da54c051f80a28dc1b946a2641093 Mon Sep 17 00:00:00 2001 From: David Corking Date: Wed, 18 Jun 2014 17:23:06 +0100 Subject: [PATCH] Describe rake db:import:emails[file] so that it is listed by `rake -T` --- lib/tasks/emails.rake | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/tasks/emails.rake b/lib/tasks/emails.rake index 7123549ec..deba8f375 100644 --- a/lib/tasks/emails.rake +++ b/lib/tasks/emails.rake @@ -3,6 +3,7 @@ begin namespace :db do namespace :import do + desc 'Import email addresses from a named CSV file' task :emails, [:file] => :environment do |t, args| # pass variables like so bundle exec rake db:import:emails[db/emails.csv] require File.expand_path("../../config/environment", File.dirname(__FILE__))