Commit 6d838c31eef74b0276c0599e0452ad264fbcc815

Authored by Andrew Kane
1 parent 7e93b0e7

Added comment [skip ci]

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
lib/searchkick/model.rb
... ... @@ -78,6 +78,7 @@ module Searchkick
78 78  
79 79 def searchkick_reindex(method_name = nil, **options)
80 80 scoped = Searchkick.relation?(self)
  81 + # call searchkick_klass for inheritance
81 82 relation = scoped ? all : searchkick_klass.all
82 83 # prevent scope from affecting search_data
83 84 unscoped do
... ...