Commit 4c3ad926dbe726ddb9770d93ec415be3d092cee8

Authored by Andrew Kane
2 parents eb945aaf e0c3c2c1

Merge branch 'master' of https://github.com/ankane/searchkick

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
README.md
... ... @@ -233,7 +233,7 @@ Searchkick uses `find_in_batches` to import documents. To eager load associatio
233 233  
234 234 ```ruby
235 235 class Product < ActiveRecord::Base
236   - scope :search_import, includes(:searches)
  236 + scope :search_import, -> { includes(:searches) }
237 237 end
238 238 ```
239 239  
... ...