Commit 0742db8a8adb7e78f381c58e3f2790622edfc44a

Authored by Andrew Kane
1 parent 8e7d7df6

Revert "Don't forget search_import scope"

This reverts commit 8e7d7df63736ac0d66a83e07f19fa625ff6416ac.
Showing 1 changed file with 0 additions and 1 deletions   Show diff stats
lib/searchkick/index.rb
... ... @@ -248,7 +248,6 @@ module Searchkick
248 248 end
249 249  
250 250 def import_batch(scope, method_name: nil, batch_id: nil)
251   - scope = scope.search_import if scope.respond_to?(:search_import)
252 251 import_or_update scope.to_a, method_name
253 252 Searchkick.redis.srem(batches_key, batch_id) if batch_id && Searchkick.redis
254 253 end
... ...