From 3cc5f6617eb4b8078ad6fc19050d723c4461eb69 Mon Sep 17 00:00:00 2001 From: Nathan Bertram Date: Fri, 7 Feb 2014 13:08:54 -0800 Subject: [PATCH] Updated scope syntax --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index baf6e12..658e8cd 100644 --- a/README.md +++ b/README.md @@ -233,7 +233,7 @@ Searchkick uses `find_in_batches` to import documents. To eager load associatio ```ruby class Product < ActiveRecord::Base - scope :search_import, includes(:searches) + scope :search_import, -> { includes(:searches) } end ``` -- libgit2 0.21.0