Permalink
Browse files

Directly run load from rake task

  • Loading branch information...
rwdaigle committed May 4, 2012
1 parent 99871ef commit 122e0c5830e098c30e8357d9288013d02ad4a543
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/tasks/ptls.rake
View
@@ -9,6 +9,7 @@ namespace :ptls do
desc "Load words from external sources"
task :load => :environment do
puts "Enqueuing WordnikWODLoader.load!"
- $queue.enqueue("WordnikWODLoader.load!")
+ # $queue.enqueue("WordnikWODLoader.load!")
+ WordnikWODLoader.load!(Date.today)
end
end

0 comments on commit 122e0c5

Please sign in to comment.