lib/searchkick/tasks.rb in searchkick-0.9.1 vs lib/searchkick/tasks.rb in searchkick-1.0.0
- old
+ new
@@ -1,9 +1,8 @@
require "rake"
namespace :searchkick do
-
desc "reindex model"
task reindex: :environment do
if ENV["CLASS"]
klass = ENV["CLASS"].constantize rescue nil
if klass
@@ -29,7 +28,6 @@
puts "Reindex complete"
end
end
end
-
end