lib/searchkick/tasks.rb in searchkick-0.3.3 vs lib/searchkick/tasks.rb in searchkick-0.3.4

- old
+ new

@@ -21,11 +21,13 @@ namespace :reindex do desc "reindex all models" task :all => :environment do Rails.application.eager_load! (Searchkick::Reindex.instance_variable_get(:@descendents) || []).each do |model| + puts "Reindexing #{model.name}..." model.reindex end + puts "Reindex complete" end end end