Skip to content

Commit

Permalink
Merge pull request #4156 from sanger/bugfix-search-class-not-loading
Browse files Browse the repository at this point in the history
BUGFIX - add includes statement to ensure class loaded
  • Loading branch information
andrewsparkes authored Oct 22, 2024
2 parents 3288801 + 731fd99 commit 5f422ad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/acts_as_descriptable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5f422ad

Please sign in to comment.