From b7bc426ac4e186310763f0b33e744e18fe557224 Mon Sep 17 00:00:00 2001 From: balen Date: Fri, 20 Dec 2024 09:48:42 -0500 Subject: [PATCH] require open struct --- app/queries/base_query.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/queries/base_query.rb b/app/queries/base_query.rb index e80de40c..a18bcc05 100644 --- a/app/queries/base_query.rb +++ b/app/queries/base_query.rb @@ -1,5 +1,7 @@ # Responsible for returning a collection of items # Results can be sorted, filtered, and paginated +require 'ostruct' + class BaseQuery attr_reader :total, :collection