From 12d125cd85911e63a92a78f6bfea839b619f5a8b Mon Sep 17 00:00:00 2001 From: Mike Dalessio Date: Tue, 6 Feb 2024 22:28:01 -0500 Subject: [PATCH] fix: rails 7.1.3 support requires a has_query_constraints? method I think the significant change upstream was rails/rails:59e72b0b --- lib/active_hash/base.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/active_hash/base.rb b/lib/active_hash/base.rb index 0c06221..4a36b03 100644 --- a/lib/active_hash/base.rb +++ b/lib/active_hash/base.rb @@ -127,6 +127,10 @@ def record_index @record_index ||= {} end + def has_query_constraints? + false + end + private :record_index def reset_record_index