Skip to content

Commit

Permalink
DISCOVERYACCESS-7627 - try a fix for Psych::DisallowedClass in Catalo…
Browse files Browse the repository at this point in the history
…gController#index Tried to load unspecified class: ActiveSupport::HashWithIndifferentAccess

publiclab/plots2#11355
  • Loading branch information
jgreidy committed Sep 16, 2022
1 parent 9986b24 commit c9b8a52
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/environments/development.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
# Raise exception on mass assignment protection for Active Record models
#config.active_record.mass_assignment_sanitizer = :strict
#config.active_record.mass_assignment_sanitizer = false
condig.active_record.yaml_column_permitted_classes = [
ActiveSupport::HashWithIndifferentAccess
]

# Log the query plan for queries taking more than this (works
# with SQLite, MySQL, and PostgreSQL)
Expand Down

0 comments on commit c9b8a52

Please sign in to comment.