From 3b3f286523a633d24092e9d2dcb696b1b4d8d5fc Mon Sep 17 00:00:00 2001 From: Maryna Dubavets Date: Thu, 29 May 2025 11:59:02 +0200 Subject: [PATCH] Update crutch.rb, added update_fields reader --- lib/chewy/index/crutch.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/chewy/index/crutch.rb b/lib/chewy/index/crutch.rb index d9931cd8..a25eb4ad 100644 --- a/lib/chewy/index/crutch.rb +++ b/lib/chewy/index/crutch.rb @@ -9,6 +9,8 @@ module Crutch end class Crutches + attr_reader :update_fields + def initialize(index, collection, update_fields: []) @index = index @collection = collection