Skip to content

Commit

Permalink
little test
Browse files Browse the repository at this point in the history
  • Loading branch information
rawOrlando committed Nov 13, 2023
1 parent c2bc8b8 commit 35cd6a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/initializers/active_record.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
# This resolves an issue loading symbols causing pysch disallowed class error
# Check out https://discuss.rubyonrails.org/t/cve-2022-32224-possible-rce-escalation-bug-with-serialized-columns-in-active-record/81017
#ActiveRecord.yaml_column_permitted_classes = [Symbol, Hash, HashWithIndifferentAccess]
config.active_record.yaml_column_permitted_classes = []
ActiveRecord.yaml_column_permitted_classes = []
# config.active_record.yaml_column_permitted_classes = []
#[Symbol, Hash, HashWithIndifferentAccess]
end

0 comments on commit 35cd6a0

Please sign in to comment.