From 8b3e8bfc7c1e1bb731ebb36adab417bcc41a5787 Mon Sep 17 00:00:00 2001 From: Kevin Kimball Date: Sat, 3 Sep 2016 15:11:38 -0700 Subject: [PATCH] Update readme to fix Searchjoy relation (#722) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 02ee2f5..8c49183 100644 --- a/README.md +++ b/README.md @@ -488,7 +488,7 @@ Next, add conversions to the index. ```ruby class Product < ActiveRecord::Base - has_many :searches, class_name: "Searchjoy::Search" + has_many :searches, class_name: "Searchjoy::Search", as: :convertable searchkick conversions: ["conversions"] # name of field -- libgit2 0.21.0