Skip to content

Commit 6956b7c

Browse files
import:all rake task executes each model
1 parent 618b7f2 commit 6956b7c

File tree

1 file changed

+1
-1
lines changed
  • elasticsearch-rails/lib/elasticsearch/rails/tasks

1 file changed

+1
-1
lines changed

elasticsearch-rails/lib/elasticsearch/rails/tasks/import.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
puts "[IMPORT] Processing model: #{klass}..."
9696

9797
ENV['CLASS'] = klass.to_s
98-
Rake::Task["elasticsearch:import:model"].invoke
98+
Rake::Task["elasticsearch:import:model"].execute
9999
puts
100100
end
101101
end

0 commit comments

Comments
 (0)