Skip to content

Commit

Permalink
add includes statement to ensure class loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewsparkes committed Jun 26, 2024
1 parent 518734d commit 731fd99
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 731fd99

Please sign in to comment.