From 9e35054ee2e486da5418bc038eb6f9daf5c19a0c Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Fri, 7 Oct 2022 11:37:55 -0700 Subject: [PATCH] DRY code [skip ci] --- lib/searchkick/relation.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/searchkick/relation.rb b/lib/searchkick/relation.rb index 6cf5b43..12c2c4b 100644 --- a/lib/searchkick/relation.rb +++ b/lib/searchkick/relation.rb @@ -29,8 +29,7 @@ module Searchkick def execute Searchkick.warn("The execute method is no longer needed") - private_execute - self + load end # experimental -- libgit2 0.21.0