lib/searchkick/tasks.rb in searchkick-0.0.2 vs lib/searchkick/tasks.rb in searchkick-0.1.0
- old
+ new
@@ -2,8 +2,8 @@
namespace :searchkick do
desc "re-index elasticsearch"
task :reindex => :environment do
klass = ENV["CLASS"].constantize
- klass.tire.reindex
+ klass.reindex
end
end