0

I am using rails admin gem for editing creating records etc. There is a section which contains blobs part. When I tried to edit a blob record (not editing any field just pressing save) causes:

Psych::DisallowedClass: Tried to load unspecified class: ActiveSupport::HashWithIndifferentAccess

rails admin example

Upgrading to Ruby 3.1 causes Psych::DisallowedClass exception when using YAML.load_file I tried method in this thread but no luck.

versions:

  • Rails 5.2.8.1
  • activestorage (5.2.8.1)
  • rails_admin (2.2.1)

Any suggestions? Thanks.

Deniz5
  • 11
  • 3

0 Answers0