Commit 3cc5f6617eb4b8078ad6fc19050d723c4461eb69

Authored by Nathan Bertram
1 parent 471ec8aa

Updated scope syntax

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  
... ...