Commit 3b2b9e7784ba4beb1473ec4f0880229c2af92395
1 parent
b46d3dda
Exists in
master
and in
1 other branch
fix deprecated usage of task declaration
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/tasks/prune_db.rake
... | ... | @@ -382,7 +382,7 @@ namespace :prune_db do |
382 | 382 | end |
383 | 383 | |
384 | 384 | #call this by doing rake prune_db:populate_seed_ideas['blahblah',questionnum], where blahblah is the filename |
385 | - task(:populate_seed_ideas, :args1, :args2, :needs => :environment) do | task, arguments| | |
385 | + task(:populate_seed_ideas, [:args1, :args2,] => [:environment]) do | task, arguments| | |
386 | 386 | filename = arguments[:args1] |
387 | 387 | question_num = arguments[:args2] |
388 | 388 | ... | ... |