From 731fd994a173273044a92c3f4266a21873fbbdb5 Mon Sep 17 00:00:00 2001 From: Andrew Sparkes Date: Wed, 26 Jun 2024 16:38:28 +0100 Subject: [PATCH] add includes statement to ensure class loaded --- lib/acts_as_descriptable.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/acts_as_descriptable.rb b/lib/acts_as_descriptable.rb index 2725d22901..8148205990 100644 --- a/lib/acts_as_descriptable.rb +++ b/lib/acts_as_descriptable.rb @@ -29,6 +29,9 @@ # author_name: 'Matt Wood' module ActsAsDescriptable # :nodoc: + # added as getting 'Tried to load unspecified class: HashWithIndifferentAccess' errors in Production and UAT + require 'active_support/hash_with_indifferent_access' + def self.included(base) base.class_eval { serialize :descriptors } end